Norway
Joined: Apr 18, 2014
Post Count: 259
Status:
Offline
Extensive memory usage?
I recently bought a new 2020 Mac Pro 24 core workstation, fitted with 192GB of memory. Although it was bought for another purpose, I at least thought 192GB of memory would solve the running-out-of-memory issues I have had when working with SH3D, but to my surprise I see that even when I'm working with a tiny file of 350MB, SH3D is suddenly using 60GB (as shown on the top of the list). I have allowed SH3D 32GB in cfg-file.
Photoshop, which is allowed 100GB of my memory, is only using 1.62 GB, working with some quite heavy files that weighs a lot more than the SH3D file of 350MB.
France
Joined: Nov 7, 2005
Post Count: 9421
Status:
Offline
Re: Extensive memory usage?
I would suspect that it's because of the way Java handles memory with its garbage collector. The more memory you grant to the program, the more it will use and the less it will spend time in recovering allocated memory that is not needed anymore.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Norway
Joined: Apr 18, 2014
Post Count: 259
Status:
Offline
Re: Extensive memory usage?
It seems that the memory usage is building up with each rendering that is performed. Maybe there is a way to fix this in a future version, some routine within SH3D that could free up unused memory after each rendering? Just wondering...