Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Split WD Components from a DC

Hello,

I must to migrate some WD Java projects from 7.0 to 7.3; I can migrate all of them, except one.

This DC has 11 WD Components (some of them quite big size); there are no errors within and I should deploy it and test it. The problem becomes when I'm not able to build the DC from NWDS 7.30; the system gives me the following error:

(...)
     [timer] WebDynpro generator finished in 2 minutes 58.251 seconds
 
      [echo] Starting Java compiler using the current JVM
      [echo] Settings:
      [echo]         debug: on
      [echo]      optimize: off
      [echo]   deprecation: default
      [echo]       verbose: default
      [echo]      encoding: UTF-8
      [echo]        source: 1.6
      [echo]        target: 1.6
      [echo]  source paths: 
      [echo]       D:\Documents and Settings\corellavpd\NWDS_73.jdi\0\DCs\diba.com\zhr\ats_ip\_comp\src\packages
      [echo]       D:\Documents and Settings\corellavpd\NWDS_73.jdi\0\t\B57A10C40E339A66BC6E35DFCD10C58B\gen_ddic/datatypes
      [echo]       D:\Documents and Settings\corellavpd\NWDS_73.jdi\0\t\B57A10C40E339A66BC6E35DFCD10C58B\gen_cmi/packages
      [echo]       D:\Documents and Settings\corellavpd\NWDS_73.jdi\0\t\B57A10C40E339A66BC6E35DFCD10C58B\gen_wdp/packages
      [echo]    class path:
      [echo]       D:\Documents and Settings\corellavpd\NWDS_73.jdi\0\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\tc~wd~webdynpro.jar
      (....)
      [echo]       D:\Documents and Settings\corellavpd\NWDS_73.jdi\0\DCs\sap.com\com.sap.mw.jco\_comp\gen\default\public\default\lib\java\com.sap.mw.jco.jar
      [echo]    output dir: D:\Documents and Settings\corellavpd\NWDS_73.jdi\0\t\B57A10C40E339A66BC6E35DFCD10C58B\classes
     [javac] Compiling 639 source files to D:\Documents and Settings\corellavpd\NWDS_73.jdi\0\t\B57A10C40E339A66BC6E35DFCD10C58B\classes
     [javac] 
     [javac] 
     [javac] The system is out of resources.
     [javac] Consult the following stack trace for details.
     [javac] java.lang.OutOfMemoryError: Java heap space
     (...)
     [javac] 	at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:53)
     [javac] 	at com.sap.tc.buildplugin.DefaultPlugin.processSequence(DefaultPlugin.java:235)
     [javac] 	at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:174)
 
Ant runtime 4 minutes 25.658 seconds
 
Ant build finished with ERRORS
(...)

I tried a lot of times... my computer configuration:

- Windows XP

- 3GB RAM memory

What can I do? Is it a machine memory problem? Or is it a server memory problem?

Maybe I should split some WD Components into more DCs... right? How can I do it? Is there some tool for that purpose?

Thanks!!

Miguel Angel.

Former Member
replied

put this in your nwds configuration file

SapNetweaverDeveloperStudio.ini

-vmargs

-Xmx768m

-Xms768m

-Xmn256M

-XX:ReservedCodeCacheSize=64m

-XX:MaxPermSize=384m

-server

-XX:+UseParNewGC

-XX:ParallelGCThreads=2

-XX:+UseConcMarkSweepGC

-XX:CMSInitiatingOccupancyFraction=60

-Dfile.encoding=UTF-8

-Dosgi.requiredJavaVersion=1.6

-XX:+HeapDumpOnOutOfMemoryError

try to build again.

if not work, delete unrelated dc and build again.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question