The code.ill.fr has been recreated and upgraded with the latest version this weekend, If you encounter any problem please inform the Helpdesk.

Commit 49d476c9 authored by legoc's avatar legoc
Browse files

Added more RAM in node merger process

parent 4898ea5b
......@@ -2,4 +2,6 @@
# A simple script calling the node merging program.
# The path to the main js script can be edited to match the user's file system organization.
#
node /home/briac/Documents/Nomad3D/nomad-3d-viewer/js/merger/index-merger.js -- $1 $2 $3 $4
# Forcing to use more RAM (4GB) than default (2GB).
#node --max-old-space-size=4096 /home/briac/Documents/Nomad3D/nomad-3d-viewer/js/merger/index-merger.js -- $1 $2 $3 $4
#node --max-old-space-size=4096 /users/legoc/nomad3d-summer2020/nomad-3d-viewer/js/merger/index-merger.js -- $1 $2 $3 $4
\ No newline at end of file
......@@ -310,14 +310,20 @@ public class EditorMenuBar extends MenuBar {
builder.inheritIO();
builder.redirectOutput(ProcessBuilder.Redirect.appendTo(LOG_FILE));
builder.redirectError(ProcessBuilder.Redirect.appendTo(LOG_FILE));
Process mergeProcess = null;
try {
mergeProcess = builder.start();
} catch (IOException e) {
e.printStackTrace();
}
Logger.getLogger("nomad-3d").info("Merge script launched.");
String command = "";
for (String c : builder.command()) {
command += c + " ";
}
Logger.getLogger("nomad-3d").info("Merge script launched: " + command);
//try {
// do not wait for termination, can take a long time and it may be wise to close
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment