File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

nitingupta Gupta
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic