This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Find the memory size in bytes of List<Objects> in JBOSS ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Find the memory size in bytes of List<Objects> in JBOSS ?" Watch "Find the memory size in bytes of List<Objects> in JBOSS ?" New topic
Author

Find the memory size in bytes of List<Objects> in JBOSS ?

Amandeep Singh
Ranch Hand

Joined: Jul 17, 2008
Posts: 844
We have a production application deployed in JBoss. Currently all screens have a functionality to export xls files. If the number of rows are above 100,000, then we cannot generate the xls file. So we made a plan, to find out the size of List<Object>, if the size is more than 600 MB, restrict the user to create xls file.

Is there a way to find out the memory size of object in Jboss ?


SCJP 1.4, SCWCD 5, SCBCD 5, OCPJWSD 5,SCEA-1, Started Assignment Part 2
My blog- http://rkydesigns.blogspot.com
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Find the memory size in bytes of List<Objects> in JBOSS ?
 
Similar Threads
FBN: criteriaFind(String criteria) method; is this ok ?
How to get heap dump when Jboss is running and when a particular error happens.
Parsing thousands of files.
What is the size of object of this class
how can we find the exact size of java Objects like used to find in C++ by sizeof() ?