This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes Memory consumption is same when using result set and using put these value into map Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Memory consumption is same when using result set and using put these value into map" Watch "Memory consumption is same when using result set and using put these value into map" New topic
Author

Memory consumption is same when using result set and using put these value into map

nitingupta Gupta
Greenhorn

Joined: Sep 29, 2011
Posts: 1

In below code Iam using 15 column database table which have 5 lakh entries.
we are trying to checkout the memory consumption for ResultSet and for Iteration we are puting it into a map
but both are give same memory consumption.Please can any one tell us why this is happening?




Any help would we greatly appriciated.
Thanks in advance.
 
Don't get me started about those stupid light bulbs.
 
subject: Memory consumption is same when using result set and using put these value into map
 
Similar Threads
Persistence: Calling Stored Procedures from iBATIS
Simple but advanced question
Download file from Mysql database
java heap memory check
JVM process memory never comes down