How to disable the GC and cleanup manually?

Is there a way to totally turn off the garbage collector?
If so, how can i destroy garbage on the heap manually like in C++?
I allready found some threads about this, but all fo them resulted in a diskussion, wether the GC is good or bad and why its good...
so ill start again a thread and please dont post, that the gc is good enought in 1.5 or things like that
thx

cuz nobody responded to my question i continued developing my app (gameserver)...
server saves all the players accounts, all the maps beeing played,...
subserver = gameserver, caches the maps,... and directly asks on a players login for the account data...
now i have the problem, that if more than 10 subservers with ~ 15 players are connected (150 players) and the gc starts working all the palyers starts lagging as hell and 90% are throwen off.
every one hour the cg needs 10 -30 sec for cleaning up, what me as dev and me and all the other players find sucking
so im asking again:
is there a way to destroy garbage?
sth like System.destroy(<referencevar>); which destroys the object [and sets the references to 'null']
there are many pple saing that the gc is really good and that he gurus who developed it are the best....
But im sure, that i know MUCH better, than ANY program, when i can destroy objects (and not causing an 15 sec cleanup)

Similar Messages

  • How to disable the maximize and minimize button of JDialog

    How to disable the maximize and minimize button of JDialog. I have an application which has JDialog box, but in that i should not have maximize and minimize button.If any one come across this problem and got a solution please helpout me.

    Btw, isn't it a little strange to ask thisquestion...
    Actually, I thought it was meant to be sardonic...
    Dialogs don't have those buttons, so the question
    n should be to the OP how did he/she get them in the
    first place? Cuz they aren't using JDialog to do it,
    unless it's something to do with a specific look &
    feel.I somehow missed that, good point :-)

  • How to disable the dashboard and spotlight for the latest Iion OS

    How to disable the dashboard and sportlight function in the latest Mac OS?

    to disable spotlight, open the terminal and type "sudo mdutil -a -i off" without the quotes. ( You will be prompted to enter your admin password.)
    to disable dashboard:
    Open Terminal, and then type this command, followed by the Return key:
    defaults write com.apple.dashboard mcx-disabled -boolean YES
    This tells the system that you no longer wish to have Dashboard available. However, the Dashboard task is actually “owned” by the Dock, so to make your changes take effect, you need to restart the Dock. The easiest way to do that is to type this command into the Terminal (and press Return when done):
    killall Dock
    After the Dock restarts, hit F12 and you’ll see…nothing at all. If you run Activity Monitor, you also won’t find any Dashboard widgets in the list of tasks, even if you had several open when you ran the above command.

  • How to disable the flash and sound of the camera o...

    would I like to know how I do to disable the Flash and sound of the camera of N73?
    or does anybody know about some software that makes that?

    06-Dec-2008 08:30 AM
    krizanand wrote:
    hi suman,
    i too faced this problem afetr updating it to new firmware,when i checked my application manager there was an application which opens only with the ZIP manager
    it was troubling me a lot when i switch off and ON the phone time and again
    Finally i did a RESET *#7370# the application was not reflecting in the App manager and the problem got resolved
    Hope this works out for u
    if it is i will be Glad cheers........... try it
    Yes, that will solve all problems and as well as your data. There are alternatives which I already mentioned here. You can search to find the answer, since it to complicate to do it again.
    C6-00 with 8GB MicroSD

  • How to disable the phone and use the camera on a p...

    Hello
    im off on holiday soon and really want to travel with my n95 8gb.
    does anyone know of a way to actually tuen the phone bit off and just use the camera and video camera as to not interfere with the planes instruments i.e. no mobile phones allowed.
    no idea if there is a way to do this but it would be useful if i could
    many thanks

    Briefly press power and then select the OFFLINE profile.
    This will turn off all radios.
    Just be aware that on some flights some flight attendants may not allow phone usage even in OFFLINE mode.
    640K Should be enough for everybody
    El_Loco Nokia Video Blog

  • How to disable the context menu

    Hi folks,
    we have an application running in EP. We want to disable the context menu (right click hand). Any help is welcome.

    Hi!
    I have the same problem because we want to run WDA applications in th internet and there it is "not allowed" to "overwrite" the user's normal browser context menu.
    Additionally we are interested in how to disable the F1 and Ctrl.-F1 help features for the whole WDA application. We do not want to present technical details in the internet.
    Any help very welcome!!!!
    Regards,
    Volker

  • Disable the copy and paste

    Hi,
    can any one tell how to disable the copy and paste functionality of the text items in the forms 11g.
    Advance Thanks.

    Change the item type from TEXT to DISPLAY. If you want the user to be able to type in the field, it will be difficult to prevent copy/paste. It might be possible with a PJC.

  • I have changed the apple ID (email, but on my iphone , the icloud is stil asking me to log in whit the old email.And it is poping-up on every 10 seconds.I never used icloud, and i dont want to use it.I just dont know how to disable the icloud.

    i have changed the apple ID (email) but on my iphone , the icloud is stil asking me to log in whit the old email.And it is poping-up on every 10 seconds.I never used icloud, and i dont want to use it.I just dont know how to disable the icloud.

    If you see that pop up you enabled icloud. Whether you want or do not want now to use it irrelevant until you actually disable activation lock.
    In order to do that you have to change your apple id back to do that just long enough to sign in and back out. System will ask you to verify, don't.
    Just sign in on the prompt you getting and then logout. Once done, change apple id to what you have now and verify. Then decide if you want to
    use icloud (who does not want to be able to track their phone if lost or stolen).

  • I have an older mac and it wants me to update to itunes 10 but my mac is too old and I cant figure out how to disable the update

    I have an older mac and it wants me to update to itunes 10 but my mac is too old and I cant figure out how to disable the update so I can use the store.

    If Software Update is offering the update then it would be compatible with your model.  Unfortunately, you haven't provided us with any information on your hardware that would enable us to determine if it really is too old.
    If you really wish to disable the update alert then the next time Software Update opens, select the update in the list then select "Ignore update" from SU's Update menu.

  • How to disable the selection of "Title and logo URL of a SharePoint 2013 site" from browser

    how to disable the selection of "Title and logo URL of a SharePoint 2013 site" from browser or How can we able to set our custom default log to the sp2013 site using code.So that users are not allowed to change from browser again.
    Thanks &amp; Regards, Krishna

    Hi  Krishna,
    For your issue, you need to deploy a farm solution using HideCustomAction to hide site settings link. For example to hide “Title, description, and logo” link you can use below code:
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <HideCustomAction
    GroupId="Customization"
    HideActionId = "ProjectSettings"
    Location = "Microsoft.SharePoint.SiteSettings">
    </HideCustomAction>
    </Elements>
    Reference:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/92f002b7-0e9c-424e-836a-de40c4e5d81f/hide-option-from-site-settings-page-in-sharepoint-2010?forum=sharepointdevelopmentprevious
    http://blog.milanchauhan.com/2013/06/add-custom-section-in-site-settings.html
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How to Disable the Process Header, collapsible Area, and Process Warning Bar from Contacts Form of CRM 2013

    Folks,
    How to Disable the Process Header, collapsible Area, and Process Warning Bar from Contacts Form of CRM 2013
    Thank you.

    Hi,
    You can deactivate the business process itself if you do not want at all. So that the header will not available for the entity.
    Regards,
    Priya

  • Lost my iphone and located on map it using the fing phone app. The second I located it the phone went offline. Whoever has it knows how to disable the find feature. What are my alternatives? Can at

    Lost my iphone and located it on the map, using the find a phone app. The second I had the location the phone went offline. Apparently, whoever has it knows how to disable the find a phone feature. Do I have any alternatives? Can AT&T or the police track the phone?

    ATT won't unless they are asked to do so by the police and unless a major crime is involved, the police won't request this just for a stolen phone.
    If the iPhone is running iOS 6, sounds like you didn't have the passcode lock feature enabled. Nothing prevents someone from powering the iPhone off and the same for removing the SIM card.

  • Does Anyone Knows How To Disable The "Check For Updates" Option in Adobe Edge Code and Reflow?

    Does Anyone Knows How To Disable The "Check For Updates" Option in Adobe Edge Code and Reflow?
    Thanks in Advance

    I don't think there is a way for Edge Code. I'm not sure about Reflow.
    Why don't you just upgrade? That will stop the notifications.
    Randy

  • How do I disable the X and Y coordinates box in Photoshop CS6??

    this is driving me completely nuts. its the same box thats in Illustrator and InDesign, only I can't find in Preferences how to disable the annoying thing. someone please point me in the right direction. thank you so much.

    It would be useful if you had said it was under the Interface section in Preferences. Yeesh, what an annoying, useless feature  : /

  • How can I stop the Thinkpad Yoga 14 from disabling the touchpad and keyboard?

    My dad got a Thinkpad Yoga 14 about a month ago and he usually uses his laptop at a 90 degree angle in bed. So when he is on his side, the laptop is on it's side as well. When he does that with the Thinkpad Yoga, the touchpad and the keyboard are disabled and he cannot use the laptop like he wants to. I think because it's a setting to not accidentally touch the keyboard or mouse when using it in tablet mode.
    I cannot find any setting on how to stop Windows from disabling the touchpad and keyboard on rotate. I've turned off auto-rotate but can't see anything else. Any help would be greatly appreciated! Thank you!

    iPhoto seems to be viewing the iPod as a camera.  Therefore go to iPhoto's General preference pane and select No application in the Connecting camera opens: menu.
    OT

Maybe you are looking for