wood burning stoves 2.0*
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Find the memory size in bytes of List<Objects> in JBOSS ?