Jump to content
Excelsior Forums


  • Content count

  • Joined

  • Last visited


Community Reputation

0 Neutral

About kaka

  • Rank
  • Birthday 01/01/1
  1. My compiled application hangs (GUI non-responsive) for about 30 seconds when I try to save a 1MB file to a floppy disk. Once the disk operation is done, the appllication becomes responsive again. I tried the exact same scenario in the non-compiled (interpreted) version of my application and GUI is still responsive to user input. I am currently using JET 3.7 with Maintenance Pack 4. Here are the options I am using to run the applicaiton: "-Djet.gc.heaplimit:296m -Djet.gc.ratio:30 -Djet.gc.defragment -Djet.gc.dont.optimize.finalization" I was wondering whether anyone faced similar issues during large file I/O. Any suggestions?
  2. kaka

    OutOfMemory Error

    Hi, I am getting an OutOfMemory Error in the compiled version (compiler 3.7) of my application. This happens when multiple threads are busy performing computation intesive tasks. When I run the application in interpreted mode for the same scenario, it seem to run fine. After observing the heap usage pattern, it seems to me that garbage collection is not happening when it is needed. Is there any reason why GC thread might be blocked or paused for long period? I have used different GC ratio, but the application seems to always crash due to OutOfMemory. Since the interpreted version of the application does not seem to lose any memory, I am assuming that there is no potential memory leak. I was wondering whether anyone knows any jet runtime options that will provide GC threads higher priority to perform garbage collection. Thank you.