This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


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
 
GeeCON Prague 2014
 
subject: Find the memory size in bytes of List<Objects> in JBOSS ?