Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314790 - Default JVM memory not enough for cdoc
Summary: Default JVM memory not enough for cdoc
Status: ASSIGNED
Alias: None
Product: RTSC
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Joseph Cusano CLA
QA Contact:
URL:
Whiteboard: target:3.40
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-27 19:08 EDT by Amit Mookerjee CLA
Modified: 2015-03-24 05:42 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Amit Mookerjee CLA 2010-05-27 19:08:06 EDT
In certain cases the cdoc tool requires more than the default memory allocated to it by the JVM. This causes the tool to fail. This problem can be reproduced in the xdcprod tree by executing cdoc on the  XDCtools repository.

xs  xdc.tools.cdoc -od:exports/docs/cdoc -s -Pr product/Windows/$(MAJMIN)/packages

Increasing the maximum amount of heap space allocated to xs via the "--Xmx" option can workaround this problem. In the xdcprod tree --Xmx1024m (maximum heap space for program is 1024 mega bytes!) option is used with cdoc. Memory consumption by cdoc needs to be reduced.
Comment 1 Felix Otto CLA 2015-03-12 10:24:52 EDT
It's not only a workaround for a certain toolset but generally required. I have seen couple of times, that Eclipse got almost stuck while calculating dependencies during the installation/update of features. During this time the memory consumption was greater than 512MB.

So 1g instead of 512m will help to prevent update issues.

http://scn.sap.com/community/abap/eclipse/blog/2015/03/12/abap-development-tools-version-241-available-now-on-our-updatesite#comment-571736
Comment 2 Felix Otto CLA 2015-03-24 05:42:25 EDT
The default value will be increased with Eclipse Mars
http://www.eclipse.org/eclipse/news/4.5/M6/#Platform