Why I can not release the memory except I run System.exit()

I have an application which runs over night. (more than 8 hours)
after a certain period I stopped the applicatin(but it doesn't exit from JVM) reset all the object and run System.gc().
I am sure ther is not references point to the object.
it seams JVM hold the memory and memory is not released.
Questions:
1. whether JVM will "hold" memory?
2. Is there a method to focerly release memory?
Thanks a lot!
Qi

Questions:
1. whether JVM will "hold" memory?I've notice with version 1.4.0 that it starts to release memory when about 90% of the total memory allocated is free of use.
2. Is there a method to focerly release memory?
No.. But you can provide it with a hint by using the System.gc();

Similar Messages

  • JInternalFrame is closed, but does not release the memory

    Hi,
    I have problem with using of JInternalFrame.
    I create a new internal frame, and close it."setClosed(true);dispose();"
    The frame does not release the memory (after gc the allocated memory is the same)
    Before close I removed all listeners, and closed all reference to other object. (I think so :-) )
    Do You have any idees?
    regards
    G�bor

    Hi,
    I think u will have to release all the associated used objects. or you can also call the finalize() method in order to release the memory.
    Regards,
    Balaji.SN

  • Why i can not see the columns of "Tax Category" in transaction code FS00

    Dear Experts,
          Why i can not see the columns of "Tax Category" and "Posting without tax allowed" in tab of "Control Data"  transaction code FS00?
           How can i add the columns of "Tax Category" and "Posting without tax allowed"?
    Looking forward to your reply.
    Best Regards,
    Merry

    Hi,
    Go to transaction OBD4, and check whether the field "Tax category" is suppressed in group "Account control" for your GL account group.
    If not, then go to OB26 and check the field status for the same field for create, change activity.
    Regards,
    Gaurav

  • Why I can not restore the OS X Lion Montain from my MacBook Pro, will not let me online

    Why I can not restore the OS X Lion Montain from my MacBook Pro, will not let me online

    What is the Error?
    If using Internet Recovery, do you have your WiFi set up as suggested?
    Did you try using Ethernet cable?

  • Why i can not use the ink 650 in the 3515 hp eprint,some body out there to help me out please...

    why i can not use the ink 650 in the 3515 hp eprint?somebody out there to help me please??

    Hi @ronjhay ,
    Thank you for taking the time out of your day to ask that question on the HP Forums today!
    I am having a bit of trouble understanding exactly what it is that you are asking, I apologize. Are you trying to use the number 650 ink cartridge in the printer? And it isn't fitting and you are asking why it isn't?
    Please clarify. Look forward to hearing back from you!
    I worked for HP.

  • Why I can not open the downloaded applications in my iphone 4s?

    Why I can not open the downloads applications? Please show me the way.

    why you cant open? what does it says? have you tried using an valid apple id?

  • HT5192 why I can not download the ios 5.1?

    why I can not download the ios 5.1?

    Actually there have been problems world wide about connecting to Apple servers. You have to change you network settings on your device or computer to bypass this problem. You can find the instrucions here: unable to download and update iOS 5.1 try the DNS change

  • Why I can not change the brightness of the screen 27-inch cinema display. I pulse the f1 and f2 but does nothing.

    Why I can not change the brightness of the screen 27-inch cinema display.
    I pulse the f1 and f2 but does nothing.

    Look in System Preferences > Displays
    See if the brightness is locked.

  • Why i can not see the Document goods movements from T-CODE  CO03 ?

    Hello,
        why i can not see the Document goods movements list use T-CODE CO03 ?  I'm sure i have issueed for this production order. thanks.
    xinzhou.

    Hi,
    Is this a problem with only one order? or with all the Orders of the same "Order Type".
    If this is with only one Order, check goods movements actually done or not?
    If this problem is with other Orders as well (same Order Type), then with the T.Code; OPL8.
    In the 2nd Tab Page (Implemenation) - Whether the Check boxes are filled for Documented Goods Movements??
    Regards,
    Siva

  • TS3798 I get this error message"your operation could not be completed" I need help figuring out why I can not access the web page.

    I get this error message"your operation could not be completed" I need help figuring out why I can not access the web page.

    amarilysfl wrote:
    "Your disk could not be partitioned. An error occurred while partitioning the disk".
    https://www.apple.com/support/bootcamp/
    If you were using Apple's BootCamp and received this message, quit it and open Disk Uility in your Applicaitons/Utilities folder.
    Select the Macintosh HD partition on the left and select Erase and Erase Free Space > Zero option and let it complete (important) this will check the spare space for bad sectors that can cause issues formatting partitions.
    Once it's completed, try creating a partiton again in BootCamp.
    If that doesn't work, then hold command option r keys down while connected to a fast internet connection, Internet Recovery should load (spinning globe) and then in that Disk Utility, select your entire internal drive and click > First Aid > Repair Disk and Permissions.
    reboot and attempt Bootcamp again.
    If you still get a error, it might be that you have OS X data on the bottom area where BootCamp partition needs to go. This would occur if you had the drive or computer for a long time or wrote a large amount of files to the drive and nearly filling it up and then reduced some, but it left traces in the area BootCamp needs to go.
    To fix this
    BootCamp: "This disc can not be partitioned/impossible to move files."
    How to safely defrag a Mac's hard drive

  • Why I can not buy the poker game money..

    Why I can not buy the poker game money...

    More information would be useful.
    Not available in your country's App Store.
    No credit card information or invalid credit card information or some other problem with your card
    Some other reason

  • Why I can not give the application? I have money in the account at the expense of Gift cards, and I am forced to fill payment information

    why I can not give the application?
    I have money in the account at the expense of Gift cards ($19.80), and I am forced to fill payment information

    We are not Apple employees here. Everyone here is just a fellow user. You can comment to Apple via their feedback page, if you wish:
    http://www.apple.com/feedback/itunesapp.html
    but Apple does state in a number of places that you cannot use a gift card to buy other gifts, including the purchase page in the Apple Store.
    Regards.

  • Hi I would like to know why I can not tilt the screen to watch videos on the music video

    Hi I would like to know why I can not tilt the screen to watch videos on the music video. since when the bow is put all the albums.

    That seems to be either a feature or bug in iOS 7

  • Upgraded to lion, can not release the mouse/the icon is following

    upgraded to lion,but can not release the mouse/tablet/touchpad when click and drag(the icon turns translucent and following the arrow,doesn't want to release)
    I can do nothing with this laptop. the support from Apple has no idea on this in China
    have to reinstall all the system from 10.5.
    so sad!
    Who can help?

    SOLVED:
    I was reading a post about a similar problem and discovered a free program called TinkerTool. I downloaded it and under the Finder tab was able to check a feature called show all hidden files or something. Once I did this all files on my backup drive were visible but some were greyed out.
    I unchecked this feature and closed TinkerTools then restarted OS X Lion. Everything is back to normal and I can again see and manipulate the files on my backup drive. I'm all set, maybe reading this will help someone else.

  • Why i can not download the appradio for my ipodtouch 2g firware 4.2.1

    Why i can not download the appradio for my ipodtouch 2g firware 4.2.1 i need that app for sync to my car audio pioneer

    What happens when you try?
    Have you tried downloading it to your computer and then syncing it to your iPod?

Maybe you are looking for

  • How to place two text fields on the same line in adobe

    I am trying to create a form on adobe and I would like to have two unique text fields on the same line. Is this posible? 

  • File selection sequence in the FTP connection for File Sender Adapter

    Hi, I have a file to Proxy scenario using FTP connection parameters. If there are multiple files in the sender folder, XI picks up the files randomly with no processing sequence. I want XI to pick up the files based on the date time stamp meaning the

  • Call a ABAP Web Service externally

    Hi Experts, I have a question on ABAP Web Service: is it possible for Company A to call a ABAP Web Service from Company B externally? If yes, how would the it be done? How would the authority be controled? The calling of a Web Service externally, is

  • Backing up Entourage address book

    I have Entourage 2004. How do I (in easy easy terms please) back up my address book? Can I back it up to a folder on my desktop? Should I back it up elsewhere? Once I back it up, is it easily restored if I have a problem?

  • How to track license

    Hi, I have an account purchased 20 licenses,  I have a question is how to track this license, I don't know which machine have installed this license. Is there have some license server or some software can control all the license which I have used? Th