Re: [Sablevm-user] problem running sablevm for the first time...
Brought to you by:
egagnon
From: David <db...@cs...> - 2003-11-18 02:49:29
|
Hi Dan, Could you provide compilation options by running sablevm with the --version option. Also, provide your gcc version. Without getting into the technical details, note that SableVM *inlined* interpreter is highly dependent on both the CPU and the compiler version used. gcc 2.95 through 3.2 should be safe for the inlined on an intel CPU. 2.95 is safe for sure. If you use 3.3, it should segfault... quite early, so don't know if this is really the issue here. Also, if not already done, try the slower switch interpreter: configure option: --with-threading=3Dswitch then, with the faster direct interpreter --with-threading=3Ddirect and also with debugging enabled: --enable-debugging-features To see if you get the same problem. David On Mon, Nov 17, 2003 at 03:56:37PM +0000, da...@co... wrote: > Hi,=20 >=20 > I trying out sablevm for the first time. > All compiles and installs well (as far as I know).=20 > When I try to run a simple class (HelloWorld)=20 > I get this... >=20 > [verbose jni: JNI_CreateJavaVM] > [verbose gc: allocating initial heap (16777216 bytes)] > [verbose class: loading "java/lang/Object"] > ... (bunches of classes loaded here) > [verbose class: loading "java/lang/VMSecurityManager"] > [verbose gc: previously allocated 16777216 bytes, surviving 27280 bytes= , new heap is 16777216 bytes, gc time =3D 0 sec 206 usec] > [verbose gc: previously allocated 16777180 bytes, surviving 27212 bytes= , new heap is 16777216 bytes, gc time =3D 0 sec 186 usec] > [verbose gc: previously allocated 16777192 bytes, surviving 27204 bytes= , new heap is 16777216 bytes, gc time =3D 0 sec 186 usec] > [verbose gc: previously allocated 16777196 bytes, surviving 27140 bytes= , new heap is 16777216 bytes, gc time =3D 0 sec 198 usec] > ... (and this repeats forever) >=20 > Whats up with this? > Im guessing Im running out of heap space before sablevm finishes > loading all of its base classes. Is there a way to fix this? >=20 > Im running sable-1.0.9 on redhat 8.2 with 512mB memory (100mB free) >=20 > Thanks >=20 > Dan=20 > da...@po... >=20 >=20 > ------------------------------------------------------- > This SF. Net email is sponsored by: GoToMyPC > GoToMyPC is the fast, easy and secure way to access your computer from > any Web browser or wireless device. Click here to Try it Free! > https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=3Dmm/g22lp.t= mpl > _______________________________________________ > Sablevm-user mailing list > Sab...@li... > https://lists.sourceforge.net/lists/listinfo/sablevm-user --=20 --- David B=E9langer Graduate Student School of Computer Science McGill University Office: MC226 Web page: http://www.cs.mcgill.ca/~dbelan2/ Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt |