Sandeep.cheekati289 Posted May 29, 2020 Share Posted May 29, 2020 Hi,I am generating an excel report with around 1 lac records equal to 31 Mb.Swap File virtualizer generates around 156 Mb which is equal to 5 times the actual report downloaded.And after swap File writing is completed, it copies to tmp directory with file name like file.os........tmp. this tmp file size is around 420 Mb, which is around 2.8 times the swap File size.Why the swap File and tmp file sizes are more compared to actual downloaded file? Can anyone answer plz?By the way, I am using jasperreports 6.11 Link to comment Share on other sites More sharing options...
jgust Posted May 29, 2020 Share Posted May 29, 2020 The swap file is a mechanism to offload memory that java has access to so that you don't exceed the limit. It is not formatted data but a dump of memory. Excel, on the other hand, is not only data but a zipped XML file. The two are not the same. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now