Italia
Joined: Apr 30, 2010
Post Count: 7
Status:
Offline
Rendering: Java Error
Dear Friends
I have a big problem ! Please Help me.
Using Sweethome3d, upon rendering of a very large file (400 MB) returns a JAVA error that I transcribe:
"Java. Lang. OutOfMemoryError: GC OVERHEAD LIMIT EXCEEDED" And sometimes even a Heap Space exception
At render time, if active artificial lighting, it produces the following error first. I don't think DAE models could cause the inconvenience because, do I render with daylighting without artificial lights or with those used for the Interior, the problem does not occur. I don't know how to fix it. Mainly use a mobile PC with an INTEL i5 processor and 8 GB of ram now a little dated. But even on an ASUS laptop Intel i7 8 Gb ram 8000 series and the problem returns. How do I fix. How to assign more memory to Java. Thank you in advance and I look forward. Kind regards. Vincenzo
UK
Joined: Jan 6, 2018
Post Count: 677
Status:
Offline
Re: Rendering: Java Error
hi Emmanuel I tried the numbers vincemay used but but sweethome would not start, halved the value, then halved it again, neither allowed sweethome to start this is my pc this is my sweethome version Could you tell me what to add in the ini please. As my pc is set i cannot work with any sh3d file over approx 60'000 kb, pc lags way to much in the 3d view, it can take 2 or 3 mins for the view to change just moving to a different level. Thx Mike
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: Rendering: Java Error
Mike, remove the space after -Xmx The memory size should come just after, like in -Xmx2048m
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: Rendering: Java Error
The usable maximum depends on how much RAM is available in your computer and how much memory is used by the system and other programs. Beyond that limit, there are chances that the computer will have to swap more often, slowing down everything. If your computer has 16 GB RAM, I think -Xmx8g (8 GB) will let plenty of RAM for Sweet Home 3D.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator