Find the memory size in bytes of List<Objects> in JBOSS ?
posted 5 years ago
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 ?