Is there anyway I can check which R objects takes too much memory? : <p>Now I am using R to integrate different stock information(like RCurl for Web info and quantmod for financial report and trade info)</p>

<p>After I get data I put them in MySQL database.</p>

<p>The program works find BUT after loop some time the R session consumes too much memory(some 1000 stocks takes 4GB memory)</p>

<p>Is there anyway in R I can check which objects takes the most memory? Or is there any tools I can check the possible memory leak problem? Thanks! </p>
