![]() Naively, assuming some overhead, this would lead me to guess that YourKit is going to use a max of something maybe a bit over four GB. What I've got in the YourKit launch script is: JAVA_HEAP_LIMIT="-Xmx3072m -XX:PermSize=256m -XX:MaxPermSize=768m" YourKit can easily be activated in your Maven build by adding YourKits java agent to the list of JVM arguments of the M2 plugin, e.g.In the course of profiling a 64-bit Java app that's having some issues, I notice that the profiler itself (YourKit) is using truly colossal amounts of memory. They're offering an evaluation license for 15 days. If available, YourKit is very helpful here. OS name: "windows xp", version: "5.1", arch: "x86", family: "windows" Java home: C:\Programme\Java\jdk1.6.0_25\jreĭefault locale: en_US, platform encoding: Cp1252 Java version: 1.6.0_25, vendor: Sun Microsystems Inc. Maven home: C:\Programme\apache-maven-3.0.3\bin\. if i run the mwe2 workflow in eclipse with Run as->MWE2 Workflow it is strange that the generation in the ebl project is blocked but i get almost the same performance with mvn clean install if i run "mvn -o -npu generate-sources" the generation will be block Is it possible to tweak this process to get a better performance? Maybe by skipping of generating the documentation (*.dot, *.html). Most (95%) of the time is spent in "2.n()" waiting for a Ant build (running in a separate JVM) finishing it's stuff. Then the build goes to sleep and with the first logged message from "" the build is fast again. Up to the point where the text "Adding generated EPackage 'sculptormetamodel.SculptormetamodelPackage'" is logged the maven build is fast. Compiling 99 source files to c:\DriveD\vk\relaunch-domain\base\domain\target\classes maven-compiler-plugin:2.3.2:compile (default-compile) domain. Using 'ISO-8859-1' encoding to copy filtered resources. maven-resources-plugin:2.4.3:resources (default-resources) domain. fornax-graphviz-m2-plugin:1.0.0:run (default) domain. fornax-checksum-m2-plugin:1.0.0:run (after generate) domain. Adding c:\DriveD\vk\relaunch-domain\base\domain\src\test\generated\java to the list of current resources. Adding c:\DriveD\vk\relaunch-domain\base\domain\src\test\generated\resources to the list of current resources. Adding c:\DriveD\vk\relaunch-domain\base\domain\src\main\resources to the list of current resources. Adding c:\DriveD\vk\relaunch-domain\base\domain\src\generated\resources to the list of current resources. Workflow 'file://c:\DriveD\vk\relaunch-domain\base\domain/src/main/resources/generator/Workflow.mwe2' finished. Written 3 files to outlet TO_GEN_RESOURCES_TEST(src/test/generated/resources) Written 16 files to outlet TO_GEN_RESOURCES(src/generated/resources) Skipped writing of 2 files to outlet TO_RESOURCES_TEST(src/test/resources) Written 4 files to outlet TO_RESOURCES_TEST(src/test/resources) Written 3 files to outlet TO_RESOURCES(src/main/resources) Written 3 files to outlet TO_GEN_SRC_TEST(src/test/generated/java) Skipped writing of 1 files to outlet TO_SRC_TEST(src/test/java) Written 2 files to outlet TO_SRC_TEST(src/test/java) Written 18 files to outlet TO_SRC(src/main/java) Written 79 files to outlet (src/generated/java) ![]() o.e. - Adding generated EPackage 'sculptormetamodel.SculptormetamodelPackage' o.e. - Registering platform uri 'C:\DriveD\vk\relaunch-domain\base' Fornax Model Workflow Maven2 Plugin V3.2.3 ![]() ![]() fornax-oaw-m2-plugin:3.2.3:run-workflow (default) domain. Generating a small domain model from scratch via "mvn clean compile" takes on my machine (windoze xp) "literally" ages:
0 Comments
Leave a Reply. |