Out of memory Java Heap Space

Machine: Windows 7 , 8 GB RAM, 64 bit
Client Memory on Ignition Properties are : Initial 32M Maximum 512M

When the Project update available is updated on Client this pop up error appears.
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.io.ByteArrayOutputStream.grow(Unknown Source)
at java.io.ByteArrayOutputStream.ensureCapacity(Unknown Source)
at java.io.ByteArrayOutputStream.write(Unknown Source)
at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)
at sun.nio.cs.StreamEncoder.implWrite(Unknown Source)
at sun.nio.cs.StreamEncoder.write(Unknown Source)
at sun.nio.cs.StreamEncoder.write(Unknown Source)
at java.io.OutputStreamWriter.write(Unknown Source)
at java.io.PrintWriter.write(Unknown Source)
at java.io.PrintWriter.write(Unknown Source)
at java.io.PrintWriter.print(Unknown Source)
at com.inductiveautomation.ignition.common.project.Project.toXML(Project.java:882)
at com.inductiveautomation.ignition.common.project.Project.toXML(Project.java:819)
at com.inductiveautomation.ignition.common.project.Project.toXML(Project.java:809)
at com.inductiveautomation.factorypmi.application.runtime.UpdateProjectPane$ApplyDiff.run(UpdateProjectPane.java:155)
at com.inductiveautomation.ignition.client.launch.AbstractStepRunner.run(AbstractStepRunner.java:32)
at java.lang.Thread.run(Unknown Source)

Thanks, looks like something we’ll have to fix on our end :confused:

Hi Kevin,

I don’t suppose there will be a fix any time soon??

Hopefully 7.7.6, which I guess by any reasonable definition isn’t soon.

If we can come up with some kind of workaround I’ll post it here. Do you have any idea how large the project your updating is?

I will bite…

Is the size of the project you are referring to visible in designer or just the size on disk?

[quote=“jim_lapratt”]I will bite…

Is the size of the project you are referring to visible in designer or just the size on disk?[/quote]

I’m not sure if it’s visible in the designer… the size of the .proj file is what I’m after I guess.

Does increasing the client’s max memory alleviate the issue?

the .proj size is 40MB

Okay. That’s a pretty large project, for whatever reason.

But we need to fix the update to work regardless of the project size. The ticket is assigned to the 7.7.6 milestone.

Verified the fix for this issue in Ignition 7.7.6-rc1.