equal
deleted
inserted
replaced
346 |
346 |
347 // Set the old heap size to 512K |
347 // Set the old heap size to 512K |
348 const int oldHeapSize = 512; |
348 const int oldHeapSize = 512; |
349 jvm->overrideOldHeapSize(oldHeapSize); |
349 jvm->overrideOldHeapSize(oldHeapSize); |
350 |
350 |
|
351 #ifdef __WINSCW__ |
|
352 // Setting smaller max heap in the emulator. |
|
353 const int maxHeapSize = 8 * 1024; // 8 MB |
|
354 jvm->overrideMaxHeapSize(maxHeapSize); |
|
355 #endif // __WINSCW__ |
|
356 |
351 jvm->enableThreadDumping(); |
357 jvm->enableThreadDumping(); |
352 |
358 |
353 jvm->setMainClass(INSTALLER_MAIN_CLASS); |
359 jvm->setMainClass(INSTALLER_MAIN_CLASS); |
354 |
360 |
355 jvm->appendSystemProperty(L"-Dcom.nokia.rt.port=installer"); |
361 jvm->appendSystemProperty(L"-Dcom.nokia.rt.port=installer"); |