High priority Rendering: Java Error

This topic has been viewed 4981 times and has 8 replies
Thread status: Active
Still a problem with your graphic card? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
vincemay
Posts: 7
Joined: Fri Apr 30, 2010 9:23 am
Country: Bari, Bari, Italia

Rendering: Java Error

Post by vincemay »

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
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Rendering: Java Error

Post by Puybaret »

Emmanuel Puybaret, Sweet Home 3D creator
vincemay
Posts: 7
Joined: Fri Apr 30, 2010 9:23 am
Country: Bari, Bari, Italia

Re: Rendering: Java Error

Post by vincemay »

Thanks Emmanuel,

Now everything is ok. I assigned -Xmx 4096m and seems to fly.
Mike53
Posts: 678
Joined: Sat Jan 06, 2018 1:02 am
Country: UK

Re: Rendering: Java Error

Post by Mike53 »

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
Image
this is my sweethome version
Image
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
Mike53
Posts: 678
Joined: Sat Jan 06, 2018 1:02 am
Country: UK

Re: Rendering: Java Error

Post by Mike53 »

this is the error i am getting
Image
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Rendering: Java Error

Post by Puybaret »

Mike, remove the space after -Xmx
The memory size should come just after, like in -Xmx2048m
Emmanuel Puybaret, Sweet Home 3D creator
Mike53
Posts: 678
Joined: Sat Jan 06, 2018 1:02 am
Country: UK

Re: Rendering: Java Error

Post by Mike53 »

thank you
With my set up what is the highest value am i able to use
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Rendering: Java Error

Post by Puybaret »

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
Mike53
Posts: 678
Joined: Sat Jan 06, 2018 1:02 am
Country: UK

Re: Rendering: Java Error

Post by Mike53 »

thk you i will try it shortly [:)]
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest