Bug 672307

Summary: IOConsole Updater Java heap space error
Product: [Fedora] Fedora Reporter: Andrew Overholt <overholt>
Component: eclipse-fedorapackagerAssignee: Severin Gehwolf <sgehwolf>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: sgehwolf
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-27 14:09:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
screenshot showing the error none

Description Andrew Overholt 2011-01-24 19:05:07 UTC
Created attachment 475023 [details]
screenshot showing the error

When running a local build of 'eclipse', I ran into a heap space issue with the console.  While I realize we can't change the design of OpenJDK and must allocate "enough" heap space in advance, it would be nice if we could try to work around this issue in advance in the Fedora Packager plugins.  I will believe that this is not possible if that's true :)

Comment 1 Severin Gehwolf 2011-01-24 21:32:49 UTC
Andrew, could you post the contents of you eclipse.ini? I have a max heap size of 384MB.

Is your suggestion to set hight/low water-marks for the IOConsole? Do you have something else in mind?

Thanks!

Comment 2 Andrew Overholt 2011-01-24 21:59:45 UTC
My heap size was perhaps the same but I've now set it to 512 MB.  My thought was that we can determine the heap size before running the build and set the IOConsole to not spill over, say, 3/4 of it.  Does that make sense?  I guess this type of enhancement should be moved to trac ...

Comment 3 Severin Gehwolf 2011-01-25 14:05:27 UTC
Makes sense. Thanks for clarifying. I have opened this upstream bug for this:
https://fedorahosted.org/eclipse-fedorapackager/ticket/55

Comment 4 Severin Gehwolf 2011-01-26 19:50:50 UTC
This should be fixed in the latest rawhide build here:
https://koji.fedoraproject.org/koji/buildinfo?buildID=215717

Let me know if it works.

Comment 5 Andrew Overholt 2011-01-26 22:16:37 UTC
That fixes it, thanks!

Comment 6 Severin Gehwolf 2011-01-27 14:09:45 UTC
Ok, thanks. Closing.