How to allocate more heap?

Hi,.
I have an issue to be resolved.
I used maxMemory() method to check the heapsize which returned 66M
and totalMemory() as expected 2M which i extented to maxMemory() using -XM options.
However i have to deal with images as large as 72M and even more.
Is there any possible way to increase heap beyond maximum available memory?
Do you guys have any other suggestions?
Regards.

Thanks for the suggesstion it helped a bit but hasn't completely solved my problem. i tried upto 800M
While scaling images i get OutOfMemoryError().
Can this be because i m maintaining 2 buffers of 4928*4928*3 and one of 512*512*3 and maybe the call of scaling images does a lot of buffering for itself?
I was wondering whether i could deallocate one of the buffers forcefully?
Is there any way to do this in java?
Anything else???
Regards.

Similar Messages

  • How to allocate more ram to T410 IntelHD graphics? CONFUSED

    Hello There
    I have a T410 Thinkpad, and I would like to know how  to allocate more ram to the IntelHD graphics so that I can run my video games a lot better. I have searched through the bios and cannot find how 
    Sorry for my English
    -Jack

    If you're running Windows 7 or later, Windows should automatically allocate up to 1.5GB of system RAM to the integrated graphics.
    W520: i7-2720QM, Q2000M at 1080/688/1376, 21GB RAM, 500GB + 750GB HDD, FHD screen
    X61T: L7500, 3GB RAM, 500GB HDD, XGA screen, Ultrabase
    Y3P: 5Y70, 8GB RAM, 256GB SSD, QHD+ screen

  • How to allocate more RAM to the JVM

    I use servlets which show applets in a web page, and it needs many space memory to show big pictures. I wondered if there was no means to allocate more RAM to the JVM
    Would anybody know a means?
    Thank you in advance

    I know, and it is there that I want to use it, but I do not know which are the arguments to be put nor how much I can add of memory.
    Is there a tutorial to use this option?
    Is there a means to know the space report at present used by the JVM?

  • How to allocate more memmory for SMS

    Hi I have 6230i, firmware V03.30. I get "memmory almost full" message, when I receive the message. I have 180 SMS in may phone, which I want to keep. How can I allocate more memmory for text messages? Memmory status: Phone =3.1Mb (Gallery =2.9MB, MMS=170.5K) Free memmory= 21.3MB. I have 512MB card, where 300MB is still free. Thank you for advice Krishna

    This is one of the things that always annoyed me about my 6230i... I never found a solution for it either. My In/Out boxes filled up every 2/3 days, so it was seriously annoying...
    That's one of the reasons I went for a smartphone, as the message boxes don't have a set allocated memory - they just share it with everything else... or use the memory card, which is even better.
    Nokia History: 3110, 5110, 7110, 7110, 3510i, 6210, 6310i, 5210, 6100, 6610, 7250, 7250i, 6650, 6230, 6230i, 6260, N70, N70, 5300, N95, N95, E71, E72
    Android History: HTC Desire, SE Xperia Arc, HTC Sensation, Sensation XE, One X+, Google Nexus 5

  • How to allocate more memory to graphic card

    I have Hp probook 6570b with intel hd 4000 graphic card ... i just wanna ask how to change amount of allocated ram to graphic card ... i have no options to do this in bios .

    Fastshock wrote:
     ... i have no options to do this in bios .
    Hi,
    No, nothing you can do. The system will work this out for you and it will allocate AVAILABLE memory for the GPU if required.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • ATI Mobility Radeon shared memory | How to allocate more?

    I have an ATI Mobility Radeon HD4200 using 256 Mb of shared memory, on an HP425 notebook. As I have 4Gb of memory, I would like to know if there is anyway to reach the 512Mb of shared memory. My BIOS won't let me (I hate the HP bios), but I've read that the "vmalloc" parameter passed on the kernel may do the trick.
    Also, then only reference I found on the forum hasn't reached far https://bbs.archlinux.org/viewtopic.php?id=48936
    Thanks for your time!

    You won't have any advantages by doing this. 256 MB are more than enough for a HD4200.
    Last edited by Radioactiveman (2013-01-23 20:54:53)

  • How to allocate more memory to ipad one?

    App crashes

    1. Double-click the Home button to close all Inactive Apps in Task Bar
    2. Hold the Apps in Task Bar down for a second or two until you see the minus sign
    3. Tap the minus sign to close Apps
    4. Tap center of screen to return to Home Screen
    5. Reset iPad. Hold the Sleep and Home button down for about 10 second until you see the Apple logo. Ignore the red slider

  • How to add more ram to video card

    Hello, to play a game I  need to have 1 GB of ram dedicated. I looked all over to find where I can allocate more ram, but I can't seem to find anything. Does anyone know how to allocate more ram to a video card? Is it possible? 
    My card is Intel HD Graphics 4600

    HPliker wrote:
    Hello, to play a game I  need to have 1 GB of ram dedicated. I looked all over to find where I can allocate more ram, but I can't seem to find anything. Does anyone know how to allocate more ram to a video card? Is it possible? 
    My card is Intel HD Graphics 4600
    You have shared RAM you don't have dedicated Video RAM that is shared with your regular Computer RAM.
    I am a Volunteer to help others on here-not a HP employee.
    Replies aren't online 24/7 because of Time Zone differences.
    Remember in this Day and Age of Computing the Internet is Knowledge at your fingertips if you choose understand it. -2015-

  • Allocate more space when we create a table

    Hi,
    I am using Oracle 10g. My question is, How to allocate more space when we create a table in that database.
    Thank u...!
    Ravi

    hi
    when you are going to add datafile not in temp tablespace
    TEMP tablespace is used only for tempfiles not datafiles my dear
    use this:
    ALTER TABLESPACE "TEMP"
    ADD TEMPFILE 'C:\ORACLE\ORADATA\ORCL\temp2.ora' SIZE 10M
    AUTOEXTEND
    ON NEXT 1024K MAXSIZE 100M;
    not logic to add datafile in temp tablespace

  • How do I allocate more memory to my 1st Gen and 4th Gen to stop Safari crashes?

    How do I allocate more memory to Safari to stop opening crashes?

    Have you tried any troubleshooting?
      Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after It shuts down, press the On/Off button until the Apple logo appears.
      Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10-15 seconds).
      Restore: Connect your iPhone to iTunes on your computer, backup, and then select Restore to Factory

  • How do i allocate more memory to my iphoto application? i am unable to add more photos to my library  i keep getting a pop up saying not enough memory in my application

    how do i allocate more memory from my hd to my iphoto application? i have over 80 gb on my hard drive, but only 1.7 gb allocated to my iphoto application & i am unable to add more photos to my library.  i keep getting a popup that says not enough application memory.

    There is excessive swapping of data between physical memory (that is, the memory chips on the logic board) and virtual memory (one or more files on the startup volume.) That activity is relatively slow and causes the whole system to be less responsive. It can happen for two reasons:
    A long-running process with a memory leak (a kind of bug)
    Not enough memory for your usage pattern
    Tracking down a memory leak can be difficult, and it may come down to a process of elimination.
    These instructions are for OS X 10.9 ("Mavericks.") The procedure may be slightly different for earlier versions of OS X.
    When you notice the swap activity, open the Activity Monitor application and select All Processes from the View menu, if it's not already selected. Select the Memory tab. Click the heading of the Real Mem column in the process table twice to sort the table with the highest value at the top. If you don't see that column, select
    View ▹ Columns ▹ Real Memory
    from the menu bar.
    If one process (excluding "kernel_task") is using much more memory than all the others, that could be an indication of a leak. A better indication would be a process that continually grabs more and more real memory over time without ever releasing it. Here is an example of how it's done.
    The processes named "Safari Web Content" render web pages for Safari. They use a lot of memory and may leak if certain Safari extensions or third-party web plugins are installed. Consider them prime suspects.
    Another process often implicated in memory leaks is "inkjet4" or "inkjet8," which is a component of the HP printing software. If it's present, force-quit the process in Activity Monitor to solve the problem temporarily. Empty the print queues in the Printers & Scanners preference pane (which has a slightly different name in each recent version of OS X.) If you don't use an HP printer, remove the software. Otherwise, if the problem is recurrent, update the software (which may not help) or contact HP support.
    "Wired" memory should be a small part of the total. That memory is not swapped, but it makes less physical memory available which may then result in swapping. If you have a lot of wired memory, that's usually an indication of a memory leak in a third-party program that modifies the operating system at a low level. Ask for guidance in that case.
    If you don't have an obvious memory leak, your options are to install more memory (if possible) or to run fewer programs simultaneously.
    The next suggestion is only for users familiar with the shell. For a more precise, but potentially misleading, test, run the following command: 
    sudo leaks -nocontext -nostacks process | grep total
    where process is the name of a process you suspect of leaking memory. Almost every process will leak some memory; the question is how much, and especially how much the leak increases with time. I can’t be more specific. See the  leaks(1) man page and the Apple developer documentation for details.

  • How can i allocate more RAM for my onboard video card on a 2011 macbook pro 13 inch running windows 7 via bootcamp

    I noticed that since Macbooks.. macs in general use an EFI instead of BIOS.  . .. Now i need to allocate some more RAM for the onboard video card since its currently running with an estimated 50mb.. I would like to increase this to 512  and cut the 3.95 down to 3.5 MB for the rest of the system ( allowing me to run more graphic intensive games and the such ... ) I know this could slow down the entire system.. ( i am aware of this ) and have gotten a 3rd party application to control and close out uneeded processes during gaming.. I just need more ram for my onboard video card.. Any help?

    You don't allocate more RAM towards your video card, you put more RAM into the machine and hopefully some machines will bump the CPU graphics RAM allocation up a little.
    The problem is you bought a integrated only graphics computer, if you want to 3D game you need a dedicated graphics computer with it's own or dedicated VRAM.
    If your this serious about 3D gaming, your on the wrong platform.
    Get a Windows 7 64bit i7 8GB RAM expandable 3D gaming tower with a good power supply and video card upgrade path, this way every few years you buy and stick in a new video card to play the latest games.
    Mac's are not gaming machines and never will be because they would last too long if we could upgrade them.
    http://www.cbscores.com/index.php?sort=ogl&order=desc

  • How do I allocate more system resources to a program?

    I have a large spreadsheet that is very slow
    I wanted to allocate more of my sysyems resourses to enable it to crunch the data quicker
    I have upgraded to 8G of Ram and have the highest CPU available

    There is no explicit way to do this. Programs request all the resources they need, and the system provides what is available. Lion manages system resources very efficiently.
    To ensure the program can use what it needs, quit all other programs that may be running (this includes your login items as well as any third party kernel extensions that you may have installed), and ensure you have adequate free space on your hard disk. That's all you can do.

  • How to allocate memory in Weblogic 8.0.1.5

    HI,
    Can anyone help me out with this one? Weblogic Server is slow and it always hang up. here is the details of the setup:
    OS: Windows 2000 Server
    Weblogic: BEA 8.0.1.5
    The physical memory of the server is 8GB but weblogic server is just using 1GB.
    I already tried changing the JAVA Heap to 2gb during the start up and yet it still uses 1GB.
    here is what I do:
    $ java -XX:NewSize=512m -XX:MaxNewSize= 2048m -XX:SurvivorRatio=8 -Xms512m -Xmx2048m
    Please let me know how can I allocate more memory for the Weblogic.
    thanks..

    Hi,
    The below link might help you :-
    http://renjan-thomas.blogspot.com/2009/08/java-virtual-machine-heap-size.html
    Edited by: user8650794 on Aug 18, 2009 5:08 AM

  • How to increase the heap size of the container in whioch BPEL is running ?

    Hi All,
    I recently raised an SR they have asked me to do the following,
    Can you please try and start the container running the BPEL process with max
    heap space (-Xmx) of 2 GB and the eden space (-Xmn) at about 60% of 1228m and
    the option -XX:+AggressiveHeap set. (even though this option is recommended for
    multi processor machines say 4)
    can anyone kindly explain me how to increase the Heap size and Eden size of BPEL container ?
    Thank You

    Hi Deepak I cant see any attribute or element in the oc4j_opmn.xml file regarding heap memory. In the server properties I changed the size of heap memeory how can I rollback.
    I am getting the following error
    Configuration information
    Running in C:\product\10.1.3.1\OracleAS_1
    Operation mode:Startup, App Server, No Enterprise Manager, Single Instance
    Oracle home:C:\product\10.1.3.1\OracleAS_1
    Oracle home name:Unnamed
    Instance name:SOA.01hw117905.India.TCS.com
    Instance type:allProducts
    Version:10.1.3.4.0
    Uses infrastructure:false
    Not an infrastructure instance, no infrastructure information available
    Components:[j2ee, apache, orabpel, oraesb, owsm, Wsil]
    2009-08-19 09:08:51.863--Begin log output for Mid-tier services (SOA.01hw117905.India.TCS.com)
    2009-08-19 09:08:51.863--Processing Step: starting OPMN
    2009-08-19 09:09:00.394--Processing Step: starting OPMN managed processes
    2009-08-19 09:09:35.19--End log output for Mid-tier services (SOA.01hw117905.India.TCS.com)
    An unknown OPMN error has occured
    oracle.appserver.startupconsole.model.ConsoleException: An unknown OPMN error has occured
         at oracle.appserver.startupconsole.control.OPMNController.doStart(OPMNController.java:121)
         at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
         at oracle.appserver.startupconsole.control.GroupController.doStart(GroupController.java:47)
         at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
         at oracle.appserver.startupconsole.view.controller.ControllerAdapter.start(ControllerAdapter.java:30)
         at oracle.appserver.startupconsole.view.controller.MasterControlAdapter.run(MasterControlAdapter.java:94)
         at oracle.appserver.startupconsole.view.Runner.main(Runner.java:39)
    Caused by: oracle.ias.opmn.optic.OpticControlException: Error from opmn during process control operation
         at oracle.ias.opmn.optic.AbstractOpmnEntity.runCommand(AbstractOpmnEntity.java:174)
         at oracle.ias.opmn.optic.AbstractOpmnEntity.start(AbstractOpmnEntity.java:110)
         at oracle.appserver.startupconsole.control.OPMNController.doStart(OPMNController.java:89)
         ... 6 more
    Exception caused by
    Error from opmn during process control operation
    oracle.ias.opmn.optic.OpticControlException: Error from opmn during process control operation
         at oracle.ias.opmn.optic.AbstractOpmnEntity.runCommand(AbstractOpmnEntity.java:174)
         at oracle.ias.opmn.optic.AbstractOpmnEntity.start(AbstractOpmnEntity.java:110)
         at oracle.appserver.startupconsole.control.OPMNController.doStart(OPMNController.java:89)
         at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
         at oracle.appserver.startupconsole.control.GroupController.doStart(GroupController.java:47)
         at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
         at oracle.appserver.startupconsole.view.controller.ControllerAdapter.start(ControllerAdapter.java:30)
         at oracle.appserver.startupconsole.view.controller.MasterControlAdapter.run(MasterControlAdapter.java:94)
         at oracle.appserver.startupconsole.view.Runner.main(Runner.java:39)
    <?xml version='1.0' encoding='WINDOWS-1252'?>
    <response>
    <msg code="-82" text="Remote request with weak authentication.">
    </msg>
    <opmn id="01hw117905:6200" http-status="206" http-response="2 of 3 processes started.">
    <ias-instance id="SOA.01hw117905.India.TCS.com">
    <ias-component id="default_group">
    <process-type id="home">
    <process-set id="default_group">
    <process id="172" pid="2176" status="Alive" index="1" log="C:\product\10.1.3.1\OracleAS_1\opmn\logs\\default_group~home~default_group~1.log" operation="request" result="success">
    <msg code="0" text="">
    </msg>
    </process>
    </process-set>
    </process-type>
    <process-type id="oc4j_soa">
    <process-set id="default_group">
    <process id="173" pid="5556" status="Stopped" index="1" log="C:\product\10.1.3.1\OracleAS_1\opmn\logs\\default_group~oc4j_soa~default_group~1.log" operation="request" result="failure">
    <msg code="-21" text="failed to start a managed process after the maximum retry limit">
    </msg>
    </process>
    </process-set>
    </process-type>
    </ias-component>
    <ias-component id="HTTP_Server">
    <process-type id="HTTP_Server">
    <process-set id="HTTP_Server">
    <process id="171" pid="2724" status="Alive" index="1" log="C:\product\10.1.3.1\OracleAS_1\opmn\logs\\HTTP_Server~1.log" operation="request" result="success">
    <msg code="0" text="">
    </msg>
    </process>
    </process-set>
    </process-type>
    </ias-component>
    </ias-instance>
    </opmn>
    </response>

Maybe you are looking for

  • Mid 2010 Macbook Pro to a Samsung Tv. (Mode not supported)

    Hi, I have a macbook pro mid 2010, when connected to an external tv, i get the mirroring option, however when i uncheck the mirroring option (cause i need 2 desktops screen instead of one), my external monitor shows " Mode not supported ". I have a s

  • Custom Programs

    Hi, could u please tell me the physical table name which stores program names created in se38 transaction. there is a table called tadir which has program ids but i was wondering how wil i get to know the program name from this table? any pointers? T

  • How to get access to a business Unit in Fusion Sales Cloud for Incentive compensation user

    Hi all, We are setting up a new environment and we do not seem to get access to the Business Unit. We have all the roles necessary and have access to the required screens but cannot populate any data as the business Unit DropDown is not showing any v

  • Data Guard archive deleted from Primary datbase before transfaring Standby

    Dear all I have a physical standby database. And Primary database on RAC node 1 and node 2. Accidently archive log deleted from Primary db before shipped standby db . I saw this error which is showing the GAP. FAL[client]: Failed to request gap seque

  • Receiving run time error GETWA_NOT_ASSIGNED  for a particular a Datasource

    Hi all, In the test system receiving run time error GETWA_NOT_ASSIGNED  for a particular a Datasource  8ZSD_O07 while trying check PSA maintenance.  For rest of data source able to display the PSA maintenance. Kindly help to resolve the issue.  Thank