0 Replies Latest reply on Feb 11, 2010 5:15 AM by jimmyoneshot

    "Garbage Collection" Error. One Solution Leads to A Worse Problem

    jimmyoneshot Level 1

      I've recently been having java heap space errors when attempting to save and run a big application leading to out of memory errors and have tried resizing my permsize etc in the flexbuilder.ini file but now whenever I try to switch to design view on this project I get the message:-

       

      An internal error occurred during "collecting garbage"

       

      Followed by:-

       

      Unable to create native thread

       

      So I basically can't access design view now and am working blind :-(

      Can anyone tell me how to solve this problem or perhaps let me know the default values that come in the flexbuilder.ini file of flexbuilder 3.2?

      Here's what I've modified it to look like so far:-

       

      -vmargs
      -Xms512m
      -Xmx1024m
      -XX:MaxPermSize=512m
      -XX:PermSize=512m
      -Djava.net.preferIPv4Stack=true