OutOf memory(many solutions to handle heapspace.but my problem is)

Hi ALL,
I had seen many solutions to handle heapspace/out of memory in this forum like from command prompt
java _xmx1g my.jar
and if to set for server edit catalina.bat/sh
But my problem is i had executable jar and which will run on a single click.
so i will not use command prompt or any server.
Do we have any optin to set memory size in env variable.
As i dint find any option like Runtime.setMemorySize().
Please send me reply if any of u find solution for this.
Edited by: sandy_gaddam on Jul 21, 2008 12:58 PM
Edited by: sandy_gaddam on Jul 21, 2008 12:59 PM

so now i have one solution. If anybody know something about
the extjs framework it would be helpfull for you
Don´t use the attribute "monitorValid = true"
This option will grow up the memroy usage of the air app
every time without an interaction in the application.
Another point is. In my application with the hang problem i
have a tabpanel where i can dynamically add tabs, more and more.
Not the memory is the problem. The Problem is if you open and close
tabs to fast and to much (over 15 at one time) the application will
be slower and slower and than hang on.
The biggest problem is: I close a Tab. But the air
application does not release some memory. No, the close event grow
up the memory. Thats a big problem.
I found an very interesting page with a nice .ppt
presantation how the flash memory management work.
http://blogs.adobe.com/aharui/2007/03/garbage_collection_and_memory.html
It is possible to release some memory. Unused variable have
set to null and an air.System.gc(); will remove the trash. trash =
a variable who is null.
I actually test this thing to release some memory if a tab is
closed.
If i test it successfully i will post it.
Does anybody has another idea to this problem.
PS: Is the way with air.System.gc(); the right way to remove
some trash variables and is it right to set unused vars to null to
get them free?
Sorry for my english. I´m german.
best regards.
BjT

Similar Messages

  • I have a very bad problem with java I try many solution but all the solution failed

    Hello friends,
    My system  10.8.3 Macbook pro
    I try many solution in the 
    Hello friends,
    My system  10.8.3 Macbook Pro, I use Safari 6.0.3
    Java is not working.
    I try many solution in the  internet but nothing work with me , And I feel very sad
    One of the famous solution I try in this link: http://support.apple.com/kb/HT5559
      I download Java OS x 2013-002 and Java 7.17
    after that i do what is written here : http://support.apple.com/kb/HT5559 Also failed.
    Sometime I think to sell my new Macbook Pro because of this problem
    I hope that any one can help me ?
    Thank you
    Soso

    I check what java I have by this way: https://service.parachat.com/knowledgebase/211/How-do-I-check-which-Java-version -is-installed-on-my-Mac.html
    java version "1.6.0_43"
    Java(TM) SE Runtime Environment (build 1.6.0_43-b01-447-11M4203)
    Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01-447, mixed mode)
    sos-macbook-pro:~ so$

  • I've updated my iphone 4 (gsm) to ios 6.0.1 and after that it's stuck in recovery mode (itunes logo cable), i tried many solutions but nothing works, did any one has an idea about this , thank you

    i've updated my iphone 4 (gsm) to ios 6.0.1 and after that it's stuck in recovery mode (itunes logo cable), i tried many solutions but nothing works, did any one has an idea about this , thank you

    I should add that this has never been Jailbroken. I keep reading that a lot of times this is the case for a jail broken phone.
    I have also gone through the not very helpfull steps on apples site to fix this.. It is not a security issue since i dont have an antivirus or any 3rd party software for my computer.

  • I have lost my iphone 5 the day before yesterday,and have tried many ways to find it, but in vain. i wandered if there are some useful solutions to such kinds of issues, because lots of people have similar terrible experiences. many people lost their app.

    i have lost my iphone 5 the day before yesterday,and have tried many ways to find it, but in vain. i wandered if there are some useful solutions to such kinds of issues, because lots of people have similar terrible experiences. in china many people have lost ihones, which means you also expose all of your information you have saved in iphones. this is dangerous,because criminals can take advantage of those information. i think apple should talke more measures to stop the thieves from using apples so easily.

    cuz me too same case I have also I lost all my photos 800pics

  • After updating to iOS 6 my battery life of iPad 2 has reduced drastically..plz help..have tried all the standard solutions suggested in forums but doesn't help

    After updating to iOS 6 my battery life of iPad 2 has reduced drastically..plz help..have tried all the standard solutions suggested in forums but doesn't help

    The quickest way (and really the only way) to charge your iPad is with the included 10W or 12W USB Power Adapter. iPad will also charge, although more slowly, when attached to a computer with a high-power USB port (many recent Mac computers) or with an iPhone Power Adapter (5W). When attached to a computer via a standard USB port (most PCs or older Mac computers) iPad will charge very slowly (but iPad indicates not charging). Make sure your computer is on while charging iPad via USB. If iPad is connected to a computer that’s turned off or is in sleep or standby mode, the iPad battery will continue to drain.
    Apple recommends that once a month you let the iPad fully discharge & then recharge to 100%.
    How to Calibrate Your Mac, iPhone, or iPad Battery
    http://www.macblend.com/how-to-calibrate-your-mac-iphone-or-ipad-battery/
    At this link http://www.tomshardware.com/reviews/galaxy-tab-android-tablet,3014-11.html , tests show that the iPad 2 battery (25 watt-hours) will charge to 90% in 3 hours 1 minute. It will charge to 100% in 4 hours 2 minutes. The new iPad has a larger capacity battery (42 watt-hours), so using the 10W charger will obviously take longer. If you are using your iPad while charging, it will take even longer. It's best to turn your new iPad OFF and charge over night. Also look at The iPad's charging challenge explained http://www.macworld.com/article/1150356/ipadcharging.html
    Also, if you have a 3rd generation iPad, look at
    Apple: iPad Battery Nothing to Get Charged Up About
    http://allthingsd.com/20120327/apple-ipad-battery-nothing-to-get-charged-up-abou t/
    Apple Explains New iPad's Continued Charging Beyond 100% Battery Level
    http://www.macrumors.com/2012/03/27/apple-explains-new-ipads-continued-charging- beyond-100-battery-level/
    New iPad Takes Much Longer to Charge Than iPad 2
    http://www.iphonehacks.com/2012/03/new-ipad-takes-much-longer-to-charge-than-ipa d-2.html
    Apple Batteries - iPad http://www.apple.com/batteries/ipad.html
    Extend iPad Battery Life (Look at pjl123 comment)
    https://discussions.apple.com/thread/3921324?tstart=30
    New iPad Slow to Recharge, Barely Charges During Use
    http://www.pcworld.com/article/252326/new_ipad_slow_to_recharge_barely_charges_d uring_use.html
    Tips About Charging for New iPad 3
    http://goodscool-electronics.blogspot.com/2012/04/tips-about-charging-for-new-ip ad-3.html
    How to Save and Prolong the battery life of your new ipad
    https://discussions.apple.com/thread/4480944?tstart=0
    Prolong battery lifespan for iPad / iPad 2 / iPad 3: charging tips
    http://thehowto.wikidot.com/prolong-battery-lifespan-for-ipad
    iPhone, iPod, Using the iPad Charger
    http://support.apple.com/kb/HT4327
    Install and use Battery Doctor HD
    http://itunes.apple.com/tw/app/battery-doctor-hd/id459702901?mt=8
    In rare instances when using the Camera Connection Kit, you may notice that iPad does not charge after using the Camera Connection Kit. Disconnecting and reconnecting the iPad from the charger will resolve this issue.
     Cheers, Tom

  • Not enough memory to install more here maps (but I...

    I have an annoying issue with my new Lumia 925. I extra bought the 32gb version to have plenty enough space for all the maps. (I stored the whole world on "Nokia Karten" on my old symbian N8)
    But now when I want to install more Maps it tells me that I do need 11.240MB (so more then 11GB!) of free space. even If I only want to add a small map of 40MB 
    Noticable is that indeed i already have downloaded approx. 11GB of maps on my lumia 925.
    So far it looks like that the programm wants to have the same amount of memory as free space on the device as the amount of already installed maps is. ???
    How to avoid that ?
    But that must be a mistake as my Symbian N8 had no such limitations. There on the symbian system however there was a setting possible to tell the phone how much storage of the card it is allowed to consume to store maps. E.g. you could do a setting that 90% of teh capacity of the card (or the internal memory by the way) can be used for the maps.
    I found no similar switch in here Maps on the Lumia ???
    So does anybody know how I can use my approx 11GB of free memory on my Lumia 925 to store further cards. ?

    Well of course a 64GB SD would be solution for everything. Unfortunately not possible. 
    I clearly thought about the Pro and Cons of the Lumia 925.
    Negative indeed is that the 32GB version is the maximum. On the other hand I calculated before the purchase if 32gb will be sufficient. And I came to conclusion that 32GB is sufficient compared my memory demands on symbian Nokia N8.
    But I never thought about an issue like that for maps installed on the system there is the same amount of free memory needed to install more maps.
    Is there a solution to this Bug ? The Nokia Support so far (tried it only in Germany) is a bit helpless
    PS. Hopefully the Update function will still work when afterwards I do use the "free" memory for other data. Deleting and Reinstalling is not an option because I found no way like previously on the N8 for with the Nokia Suite to download everything overnight automatically. In the Lumia I have to manually select every map on its own.
    Nevermind: The Look and Fell of the Lumia & Windows Phone is much better then my Symbian N8 (and faster, way faster). But it is really more complicated and has Limitations Symbian did not have had.

  • Outof Memory Error

    Hi Experts,
    An Application of Webservices developed in Jdeveloper 10.1.2.2.0 and has been Deployed on Oracle Application Server 10g.
    Problem has been faced when the requests sent by the client program and no of requests increased to 1600 (estimated requests), then it shows the below error.
    ASOAPException:faultcode=SOAPENV:Server; msg=ajava.lang.outof Memory Error”
    Please guide us to resolve this irritating issue.
    Reply will be Appriciated.
    Muhammad Shahzad Baig
    Software Engineer

    Hi.
    First - I'd try to raise the application's -Xmx to something more than 32M. perhaps 64M.
    Now, there are two possible causes here:
    1 - your application is working ok, but it needs more memory than what the JVM can provide it with at a point of time. If that's the case - raising the -Xmx for the application will take care of it. (This is assuming there are no memory leaks in it).
    2 - your application has memory leaks in it - fix it.
    You can't catch OutOfMemory - it's not an exception raised in your program. It's raised in the JVM.
    Nimo.

  • Could someone propose a solution to handle Fresh Vegetables and Fruits?

    There is something called Food Terminal. You may look at some pictures to get an idea of what is traded here - http://www.blogto.com/eat_drink/2007/10/inside_the_ontario_food_terminal/
    I could sell SAP B1 to a prospect if someone could help me put together a solution. In essence this distrubtor picks up fresh fruits and vegetables as cases, cartons, boxes, eaches etc, but nothing is barcoded. This prospect is losing money, he does not know if some items were distributed and not invoiced, or if few boxes fell down and got destroyed or for that matter stolen etc.
    Can someone experienced propose a suitable solution to handle this?
    a) Is there an elegant iPAD based web application that has nice pictures drawn like vegetables, fruits they are click and enter a weight or boxes or some unit that gets transofrmed into daily purchase orders on SAP B1?
    b) Any audio that we can talk into and gets converted into SAP B1 purchase records?
    At the end of the day, he wants to reconcile the inventory and invoices etc. I believe, if the purchase data is input then rest of the things are easy. He sure is frustrated with lack of control he has now as he does not see the big picture.
    What do you suggest? how to handle it?
    Please provide me with an add on and integration software that would be necessary to put it all together.
    Thanks a lot compatriots! I would love to win this business. I will be meeting this guy on March 1st. I could put together a demo if it is feasible.

    Hi Syed,
    If POS is not needed then fine. The handsets or terminals try the below that will best suit. you can store the data and then load this into your system.
    IPAD is also a good option for a cool device, the latest in  Mobile solution with SAP B1.
    [http://www.youtube.com/watch?v=RMK3rAWgodY] you can have SAP connect on the go..
    [http://www.motorola.com/Business/US-EN/BusinessProductandServices/BarCodeScanning/BarCode+Scanners]
    [http://www.intermec.com/products/computers/handheld_computers/index.aspx]
    [http://lxe.com]
    Regards,
    Rakesh n

  • Java.lang.Outof Memory Exception for Image

    Hi
    I am having an applet which displays some tiff image. when i am trying to print that image , iam getting OutOf Memory exception ....
    I increased heap size by setting the environment variable...
    i.e Variable : JAVA_OPTS
    Value : -Xms128m -Xmx 512m
    Even though i increased the heap size, i am getting the same exception...
    Can any body solve it ....
    Exception is :..........
    Java.lang.OutOfMemoryError
    Thanks

    Hello,
    I have the same pb... (see "TIFF : how to read with tiles")
    I just know that we have to divide the tiff into a grid of "tiles".
    By playing with tiles, images are processed gradually instead of being entirely stored in the memory.
    But I don't know how to do...

  • How many solution manager systems can a satellite connnect to?

    Hello All,
    I was just wondering how many solution manager sytems a single satellite can connect to? 
    thnx!

    Hi Drew,
    Thats a interesting point to check ..and wonder if i can ever simulate this one ))
    coz..my landscape has a max of 2 solman systems...and i can not think of having many SOLMAN's in a single landscape.... but i assume u can make multiple entries in BCOS_CUST and proceed with linking the satellite to solmans...
    Hope it helps..
    Br,
    Sri
    Award points for helpful answers

  • I have just updated to Yosemite, but now I can't get the custom shortkeys to work. In Mavericks I had no problem whatsoever, but now even after googeling and restart no solution. Does anyone have the problem? All the other shortcuts work!

    I have just updated to Yosemite, but now I can't get the custom short-keys to work.
    In Mavericks I had no problem whatsoever, but now even after googeling and restart no solution.
    Does anyone have the problem? All the other shortcuts work!

    Hi Thomas,
    I can confirm the problem you are hitting. The XML test trace does not get recognized at all, and it defaults to Eclipse's basic Open File behaviour. I am not sure if it's because the format definition is missing, or if it's because something prevents the trace type from being recognized. I will open a bug about it.
    Thanks for identifying this issue!
    In the meantime, if you'd like to experiment with XML analyses, you can also take a look at the example at https://github.com/tracecompass/xml-analysis-example .
    Cheers,
    Alex

  • When the message arrives, the message tone sound that many times. How this problem can be solved? I installed the new version, but the problem is not resolved, the future is to be taken into account in the new version of this?

    When the message arrives, the message tone sound that many times. How this problem can be solved? I installed the new version, but the problem is not resolved, the future is to be taken into account in the new version of this?

    I'm not sure I understand the question, is the message tone going more then once?
    Turn off repeat message alert here:
    settings > notifications > messages > repeat alert > never
    Some people have found this does not stop the repeat miessage tone,
    if you are one of those then I suggest you contact Apple:
    http://www.apple.com/feedback/iphone.html
    They may not respond, but hopefully will fix in uodate if enough people complain.

  • I've just purchased a new 2014 15" MacBookPro to replace my much missed 17" MBP. I got the works: OS 10.9.4, 2.8GHz Intel i7, 16GB memory and a 1 TB SSD, but despite the expense, I still don't have a computer that works...  The problem is that every

    I've just purchased a new 2014 15" MacBookPro to replace my much missed 17" MBP. I got the works: OS 10.9.4, 2.8GHz Intel i7, 16GB memory and a 1 TB SSD, but despite the expense, I still don't have a computer that works...
    The problem is that every time I try to open any program from Office 2011, I immediately get the following window, for example for Word: "Microsoft Word has encountered a problem and needs to close. We are sorry for the inconvenience." This happens each and every time I try to open Word or other Office 2011 component.
    Thinking it might be a licensing issue, I purchased and downloaded a new copy of Office 2011 from Amazon and installed it on my new MBP. Same issue once again.
    I tried to remove all copies of Office 2011 from the MBP, but the instructions provided by Microsoft required about three page and seventeen steps and the page was somehow corrupted and would not print in its entirety, nor would it e-mail as anything other than a link to the corrupted page. Not trusting my memory, I decided not to try this without adult supervision.
    I used Disk Utility to repair Disk Permissions, as described on an existing thread regarding the same problem, but to no avail.
    I removed and later replaced the "Microsoft User Data" folder from the Documents folder, but that was no help.
    I have copied the short version of the "Microsoft Error Reporting log version: 2.0," below, for those of you with a deeper knowledge of the internal workings, or non-workings of things Mac when crossed with things MS.
    Error Signature:
    Exception: EXC_BAD_ACCESS
    Date/Time: 2014-08-28 03:31:31 +0000
    Application Name: Microsoft Word
    Application Bundle ID: com.microsoft.Word
    Application Signature: MSWD
    Application Version: 14.4.3.140616
    Crashed Module Name: CoreFoundation
    Crashed Module Version: 855.17
    Crashed Module Offset: 0x00018442
    Blame Module Name: MicrosoftOleo
    Blame Module Version: 14.4.3.140616
    Blame Module Offset: 0x000017f3
    Application LCID: 1033
    Extra app info: Reg=en Loc=0x0409
    Crashed thread: 0
    Surely others have encountered and solved this same problem, and I'm hoping they can help me do the same. I don't know if this is a known issue or simply a matter of my having bumbled naively through a process far more complex than I was led to believe.

    http://www.microsoft.com/mac/support
    http://answers.microsoft.com/en-us/mac/forum/macword?auth=1
    http://answers.microsoft.com/en-us/mac/forum/macoffice2011-macword/microsoft-wor d-for-mac-2011-will-not-open-error/ecc42616-6f49-40bb-b8f5-e21c711ea359

  • I tried changing my password, and it changed to one that wasnt it, and i dont know it. So i tried it too many times and now its saying it is disabled, connect to itunes. but a problem is that my power button on top is broken. how to i fix it?

    I tried changing my password, and it changed to one that wasnt it, and i dont know it. So i tried it too many times and now its saying it is disabled, connect to itunes. but a problem is that my power button on top is broken. how to i fix it?

    Disabled
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

  • When I tried to load some mp3 files on to my samsung brightside I looked under card memory and my songs were there but when I clicked on my music it said no memory available remove files and I have an 8 gb micro sd card in and there is nothing else on it

    When I tried to load some mp3 files on to my samsung brightside I looked under card memory and my songs were there but when I clicked on my music it said no memory available remove files and I have an 8 gb micro sd card in and there is nothing else on it

    Whew.... got it to work after days of trying to figure.
    Got answer here:  http://forums.macrumors.com/showthread.php?t=1450821 from zblaze.
    Wiped phone completely, restored as NEW iphone through itunes.  Checked 'Sync all Music'.
    After that happens you can restore from backup.

Maybe you are looking for

  • A Few Questions About Zen MX . . .

    I bought a Sandisk Sansa Fuze in the summer of 2008, and have had it replaced twice due to it failing completely. So, I'm on my third, and I considered the Zen MX. So, I have a few questions . . . 1. Why is it cheaper than the Zen? 2. Is it stable an

  • Error while creating batches:Invalid organization in OPM inventory calendar

    Hi, While creating new batches for an intermediate some items, the user is getting the Error: "The Organization was found to be invalid while trying to validate the OPM Inventory Calendar". Everything is fine with the setup of OPM item, calendar, for

  • A suggestion for display list if you type an object in SQL Developer

    In Oracle document , we always use low-case in our own table name, column name. So our code format is always followed by this tradition. But now if I use SQL Developer, if I type a table, it will display a list for me.But unfortunitely it is up-case.

  • Compare_DDIC_TIMESTAMP task 000004 ended with errors

    Hi All, In Data transfer ...i am getting error in Start Programs for transfer preparation and Last checks before Data Transfer and background job name is "program CNV_MBT_CHECK_BEFORE_DATA_LOAD" Can you please where to check regards Punit

  • Adobe Reader 9.2 printing gibberish

    I've just updated adobe reader, service pack and IE at the same time. The versions are adobe reader 9.2, xp sp3, and IE 7. I have a HP laserjet 3380. After I did the updates, I get gibberish after printing PDF. It sometimes happen, not always and it