[GME-commit] GMESRC/Java/native/JavaCompRunner RawComponent.cpp, 1.4, 1.5

Log messages of CVS commits gme-commit at list.isis.vanderbilt.edu
Mon Dec 10 16:42:44 CST 2007


Update of /project/gme-repository/GMESRC/Java/native/JavaCompRunner
In directory escher:/tmp/cvs-serv32571/native/JavaCompRunner

Modified Files:
	RawComponent.cpp 
Log Message:
Java VM heap size increase

CVS User:  (csaba)

Index: RawComponent.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/Java/native/JavaCompRunner/RawComponent.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** RawComponent.cpp	7 May 2007 15:32:05 -0000	1.4
--- RawComponent.cpp	10 Dec 2007 22:42:41 -0000	1.5
***************
*** 88,97 ****
      jsize           buflen = 1;
      JavaVMInitArgs  args;
!     JavaVMOption    options[1];
  
      args.version = JNI_VERSION_1_2;
! 	args.nOptions = 1;
      sprintf(buf, "-Djava.class.path=%s", classPath);
  	options[0].optionString = buf;
  	args.options = options;
  	args.ignoreUnrecognized = JNI_FALSE;
--- 88,98 ----
      jsize           buflen = 1;
      JavaVMInitArgs  args;
!     JavaVMOption    options[2];
  
      args.version = JNI_VERSION_1_2;
! 	args.nOptions = 2;
      sprintf(buf, "-Djava.class.path=%s", classPath);
  	options[0].optionString = buf;
+ 	options[1].optionString = "-Xmx512M";
  	args.options = options;
  	args.ignoreUnrecognized = JNI_FALSE;



More information about the GME-commit mailing list