Heap Memory Increases to Maximum

Hi,
I am new to weblogic Server.
My problem is the used heap size keeps increasing till the maximum(1GB) and then Garbage collection happens, once GC happens the used heap comes down to 250MB
and it continuously goes though this cycle, even if no application is actively running on the server.
Is this normal, this is the way it would work?
current Setup
-Xms1024m
-Xmx1024m
-XX:MaxPermSize=256m
Weblogic 10.0
No maintenance pack installed
AIX and IBM Java 5
I got Out of memory when I Had the application running, but the same application running in local system (Tomcat winxp 512MB, where I simulate the load also) did not throw OOM error.
So the possibility of memory leak by application is very less(I will investigate that also later) but I need to confirm if any fine tuning is required for the above setup
Please help me to identify the problem.
Thanks
Edited by: Kannan Mugundan on Jan 28, 2010 9:38 PM

You need to do a stress test with the current JVM, as each JVM behaves differently over stress test and based on the values we can tune the JVM for optimal settings
The below settings may be used as a starting point in debugging this issue.
-XX:NewSize=256m -XX:MaxNewSize=256m -XX:SurvivorRatio=8 -Xmn256m -Xms1024m -Xmx1024m
I hope it works for you.

Similar Messages

  • Can I increase heap memory without specify any class or jar file??

    Hi,
    I tried to increase my heap memory in this way :
    java -Xms256m -Xmx256m
    but I got an error ... it's seem that I must specify a class java or a .jar file ...
    This is the error :
    Usage: java [-options] class [args...]
    (to execute a class)
    or java [-options] -jar jarfile [args...]
    (to execute a jar file)
    where options include:
    -client to select the "client" VM
    -server to select the "server" VM
    -hotspot is a synonym for the "client" VM [deprecated]
    The default VM is client.
    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
    A ; separated list of directories, JAR archives,
    and ZIP archives to search for class files.
    -D<name>=<value>
    set a system property
    -verbose[:class|gc|jni]
    enable verbose output
    -version print product version and exit
    -version:<value>
    require the specified version to run
    -showversion print product version and continue
    -jre-restrict-search | -jre-no-restrict-search
    include/exclude user private JREs in the version search
    -? -help print this help message
    -X print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
    enable assertions
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
    disable assertions
    -esa | -enablesystemassertions
    enable system assertions
    -dsa | -disablesystemassertions
    disable system assertions
    -agentlib:<libname>[=<options>]
    load native agent library <libname>, e.g. -agentlib:hprof
    see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:<pathname>[=<options>]
    load native agent library by full pathname
    -javaagent:<jarpath>[=<options>]
    load Java programming language agent, see java.lang.instrument
    -splash:<imagepath>
    show splash screen with specified image
    can I increase heap memory without specify any class or jar file??
    thx

    chiara wrote:
    Hi,
    I tried to increase my heap memory in this way :
    java -Xms256m -Xmx256m
    but I got an error ... it's seem that I must specify a class java or a .jar file ...
    This is the error :
    Usage: java [-options] class [args...]
    (to execute a class)
    or java [-options] -jar jarfile [args...]
    (to execute a jar file)
    can I increase heap memory without specify any class or jar file??The job of java.exe is to execute java bytecode.
    What is it supposed to do with your request to use 256m of memory for heap
    when you are not giving it a class or a jar to run?

  • How do I increase the maximum number of images I can acquire in a sequence using the IMAQ 1424 with 80 MB of onboard memory and a Duncan Tech camera?

    I've increased the maximum number of buffers to higher than I need, but I still cannot acquire more than 139 images with the Duncan Tech digital video camera before I get a memory lock error. Is there any way to increase the number of images I can acquire in a sequence using the IMAQ 1424 with 80MB of onboard memory?

    It sounds like you are already bypassing the onboard memory. If you weren't, you would only be able to acquire about 20 images.
    If I understand correctly, you do not convert the images until after you acquire them. This means each acquired image is 4.13 MB, and 139 images will take 574 MB of memory. I wouldn't be surprised if that was all the free memory available on a 1 GB machine. The operating system, LabVIEW and any other software running probably take up the rest of the memory. You might want to put your computer on a diet and minimize the number of other programs and utilities running. The only other option I see is getting more memory if possible.
    Is there a way that you can reduce the number of images you need to acquire? Pe
    rhaps skipping every other frame? Do you really need more than 139 images?
    Is it possible to acquire the images in monochrome? That would triple the number of images that you could acquire.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • Memory Increase - MacBook Pro mid-2012...?

    Hello to all who reads this post…
    I’m wondering if it's possible to upgrade the memory in my mid-2012 MacBook Pro...?
    I believe this should be fairly simple and relatively inexpensive. However, after reading some of the forum posts & reviewing my systems specs on Apple's specs pages , I've become less sure of the possibility to increase the RAM.
    My system specs indicate that my memory is upgradable:  Memory Slots ECC:  Disabled     Upgradeable Memory: Yes
    One of Apple’s Support pages I came across seems to indicate that my systems RAM can only be upgraded to 8 GB’s max…(but now I’m thinking they mean 8 gigs max per memory slot) and the spec's page on the site seems to indicate that 8GB is the MAX for my MB-pro…?  
    http://support.apple.com/en-us/HT1270
    Do any of the guru's here know how much, (if any), memory I can add to the 8 gigs of RAM currently installed?
    If so, what brand of memory and how much of a memory expansion would be best to boost the speed of my MacBk?
    I’m hoping the memory increase will give my system an extra boost & extend the lifespan of my Mac…. ( not to mention that my 3 year old son is getting more and more involved with gaming apps…the type of apps that become resource hogs, hogs that love RAM chips..) In any case, I’d like to increase the 8GB of RAM to 16 GB or 32GB and I would truly appreciate any thoughts, advice, feedback, shout outs, etc…
    In any case, here are my system spec details:
    OS X Yosemite  Version 10.10.2
    MacBook Pro (13-inch, Mid 2012)
    Processor 2.9 GHz Intel Core i7
    Memory 8 GB 1600 MHz DDR3
    Graphics Intel HD Graphics 4000 1024 MB
    Processor Name: Intel Core i7
    Processor Speed: 2.9 GHz
    Number of Processors: 1
    Total Number of Cores: 2
    L2 Cache (per Core): 256 KB
    L3 Cache: 4 MB
    Memory: 8 GB
    Boot ROM Version: MBP91.00D3.B08
    SMC Version (system): 2.2f44
    BANK 0/DIMM0:
    Size: 4 GB
    Type: DDR3
    Speed: 1600 MHz
    Status: OK
    Manufacturer: 0x80AD
    Part Number: 0x484D54333531533643465238432D50422020
    BANK 1/DIMM0:
    Size: 4 GB
    Type: DDR3
    Speed: 1600 MHz
    Status: OK
    Manufacturer: 0x80AD
    Part Number: 0x484D54333531533643465238432D50422020
    Memory Slots:
    ECC: Disabled
    Upgradeable Memory: Yes
    Intel 7 Series Chipset:
      Product: 7 Series Chipset
      Link Speed: 6 Gigabit
      Negotiated Link Speed: 3 Gigabit
      Physical Interconnect: SATA
      Description: AHCI Version 1.30 Supported
    APPLE HDD
    Capacity: 750.16 GB (750,156,374,016 bytes)
    Native Command Queuing: Yes
    Queue Depth: 32
    Removable Media: No
    Detachable Drive: No
    BSD Name: disk0
    Rotational Rate: 5400
    Medium Type: Rotational
    Partition Map Type: GPT (GUID Partition Table
    S.M.A.R.T. status: Verified
    File System: Journaled HFS+
    Writable:   Yes
    Ignore Ownership:                 No
    BSD Name:   disk1
    AND of course the specs page on Apple:  http://support.apple.com/en-us/HT1270  
    Memory specifications: Use the tables below to confirm the memory you're installing is compatible with your MacBook Pro.
    MacBook Pro (13-inch, mid 2012)
    Number of memory slots
    2
    Base memory
    4 GB
    Maximum memory
    8 GB
    Memory card specifications
    - Double Data Rate Small Outline Dual Inline Memory Module (DDR3) format
    - 67.6mm x 30mm (1.18 inch)
    - 2 GB or 4 GB
    - 204-pin
    - PC3-12800 DDR3 1600 MHz type RAM
    Additional notes
    For best performance, fill both memory slots, installing an equal memory module in each slot.
    Hello to all who read this post…
    I’m wondering if it's possible to upgrade the memory in my mid-2012 MacBook Pro...?
    I believe that upgrading the memory is fairly simple & relatively inexpensive.  However, after reading some of the forum posts
    & reviewing my systems specs pages here and there, I've become less sure of the possibility to increase the RAM.
    One of the Apple Support pages I came across seem to indicate that 8GB is the MAX for my MB-pro…?   (unless I'm reading it wrong)
    http://support.apple.com/en-us/HT1270  
    Also, I’m sure this is probably way too much info, but I’m a bit of a “newbie” on my MacBk and now that I’ve gotten it “broken-in” over the last 3 years, I want to keep it finely tuned & well maintained. I’m hoping I can increase the memory simply because she is starting to slow down a bit and I want to install a little extra boost while also prolonging the lifespan of my Mac….( not to mention that my 3 year old is getting more and more involved with gaming apps…)
    Overall, I’d like to increase the 8GB of RAM to 16 GB or maybe even 32GB….
    Do any of the guru's here know if this is possible?
    Thank you for the time you took to read my post.  I hope to hear from somebody soon....thanks again!
    MB-Pro details:
    OS X Yosemite  Version 10.10.2     MacBook Pro (13-inch, Mid 2012)
    Processor 2.9 GHz Intel Core i7      Memory 8 GB 1600 MHz DDR3
    Graphics Intel HD Graphics 4000    1024 MB
    Processor Name: Intel Core i7         Processor Speed: 2.9 GHz
    Number of Processors: 1                 Total Number of Cores: 2
    L2 Cache (per Core): 256 KB           L3 Cache: 4 MB
    Memory: 8 GB                                   Boot ROM Version: MBP91.00D3.B08        
    SMC Version (system): 2.2f44
    BANK 0/DIMM0:
    Size: 4 GB                          Type: DDR3          Speed: 1600 MHz               Status: OK
    Manufacturer: 0x80AD        Part Number: 0x484D54333531533643465238432D50422020
    BANK 1/DIMM0:
    Size: 4 GB                     Type: DDR3          Speed: 1600 MHz          Status: OK
    Manufacturer: 0x80AD   Part Number: 0x484D54333531533643465238432D50422020
    Memory Slots:                  ECC: Disabled                       Upgradeable Memory: Yes
    Intel 7 Series Chipset:     Product: 7 Series Chipset      Link Speed: 6 Gigabit        Negotiated Link Speed: 3 Gigabit    
    Physical Interconnect:         SATA                                    Description:                        AHCI Version 1.30 Supported
    APPLE HDD
    Capacity: 750.16 GB (750,156,374,016 bytes)          Native Command Queuing: Yes
    Queue Depth: 32                                                        Removable Media: No                   Detachable Drive: No
    BSD Name: disk0                                                       Rotational Rate: 5400                    Medium Type: Rotational
    Partition Map Type: GPT (GUID Partition Table        S.M.A.R.T. status: Verified             File System: Journaled HFS+                                    
    Writable:   Yes                                                            BSD Name:   disk1
    Memory specifications: Use the tables below to confirm the memory you're installing is compatible with your MacBook Pro.
    MacBook Pro (13-inch, mid 2012)
    Number of memory slots
    2
    Base memory
    4 GB
    Maximum memory
    8 GB
    Memory card specifications
    - Double Data Rate Small Outline Dual Inline Memory Module (DDR3) format
    - 67.6mm x 30mm (1.18 inch)
    - 2 GB or 4 GB
    - 204-pin
    - PC3-12800 DDR3 1600 MHz type RAM
    Additional notes
    For best performance, fill both memory slots, installing an equal memory module in each slot.

    A mid 2012 MBP will accept up to 16 GB RAM (even though Apple says 8 GB).  The specifications are:204-pin PC3-12800 (1600 MHz) DDR3 SO-DIMM.  The best sources of Mac compatible RAM are OWC and Crucial.
    Look at this video for installation instructions:
    http://eshop.macsales.com/installvideos/macbookpro_13_unibody_mid12_mem/
    You will need a #00 Phillips driver to take off the bottom panel.
    Ciao.

  • Find heap memory Size for Web Intelligence processing server in BO 4.0

    Hi All ,
    We need to gather data for sizing inputs.For Adaptive processing server , we can find same by going in CMC> Server > APS > Properties & check value for the parameter -Xmx  . Could you please tell how to  find the max heap memory allocated for a Web Intelligence processing server in BO 4.0 as for Webi server this parameter is not maintained. ?
    Regards ,
    Abhinav

    Hi Abhinav,
    The maximum threshold is a value which may reach on peak usage and Webi processing server cannot occupy memory beyond this value at any time.
    In your situation 9 Webi Processing servers with 16 GB of RAM on server is not recommended. This is because consider situation with total 16 GB of host RAM.
    4 GB should left for OS
    Tomcat will need minimum 2 GB for 200 users
    So you are left with 10 GB RAM for all BO services
    Now 9 Webi Processing servers with 6 GB of Threshhost will not work here
    For this configuration you can have 2 Webi Processing servers with default threshold should be running on single host.
    Regards,
    Hrishikesh

  • OAS Heap memory issue: An error "java.lang.OutOfMemoryError: GC overhead

    OAS - 10.1.3.4.0
    We are running out of Heap memory and seeing lots of full GC and out of memory events
    Verbose GC is on.
    Users don't know what they are doing to cause this
    We have 30-40 users per server and 1.5 GB heap memory allocated
    There are no other applications on the machine. Only the PRD instance with 1.5 GB allocated to the JVM. We do not have any issue with memory on the server and we could increase the heap but we dont want to go over the 1.5 GB since that is what I understood to be the high end of what is recommended. we only have 30-40 users on each machine. There are 8 servers and a typical heavy usage day we may have 1 or two machines that have the out of memory or continuous full GC in the logs. When this occurs the phones light up with the people on that machine experiencing slowness.
    below is an example of what we see in a file created in the OPMN log folder on the JAS server then this occurs. I think this is the log created when Verbose GC is turned on. I can send you the full log or anything else you need. Thanks
    1194751K->1187561K(1365376K), 4.6044738 secs]
    java.lang.OutOfMemoryError: GC overhead limit exceeded
    Dumping heap to java_pid10644.hprof ...
    [Full GC 1194751K->1188321K(1365376K), 4.7488200 secs]
    Heap dump file created [1326230812 bytes in 47.602 secs]
    [Full GC 1194751K->1177641K(1365376K), 5.6128944 secs]
    [Full GC 1194751K->986239K(1365376K), 4.6376179 secs]
    [Full GC 1156991K->991906K(1365376K), 4.5989155 secs]
    [Full GC 1162658K->1008331K(1365376K), 4.1139016 secs]
    [Full GC 1179083K->970476K(1365376K), 4.9670050 secs]
    [GC 1141228K->990237K(1365376K), 0.0561096 secs]
    [GC 1160989K->1012405K(1365376K), 0.0920553 secs]
    [Full GC 1012405K->1012274K(1365376K), 4.1170216 secs]
    [Full GC 1183026K->1032000K(1365376K), 4.4166454 secs]
    [Full GC 1194739K->1061736K(1365376K), 4.4009954 secs]
    [Full GC 1194739K->1056175K(1365376K), 5.1124431 secs]
    [Full GC 1194752K->1079807K(1365376K), 4.5160851 secs]
    in addition to the 'overhead limit exceded' we also will see :
    [Full GC 1194751K->1194751K(1365376K), 4.6785776 secs]
    [Full GC 1194751K->1188062K(1365376K), 5.4413659 secs]
    [Full GC 1194751K->1194751K(1365376K), 4.5800033 secs]
    [Full GC 1194751K->1194751K(1365376K), 4.4951213 secs]
    [Full GC 1194751K->1194751K(1365376K), 4.5227857 secs]
    [Full GC 1194751K->1171773K(1365376K), 5.5696274 secs]
    11/07/25 11:07:04 java.lang.OutOfMemoryError: Java heap space
    [Full GC 1194751K->1183306K(1365376K), 4.5841678 secs]
    [Full GC 1194751K->1184329K(1365376K), 4.5469164 secs]
    [Full GC 1194751K->1184831K(1365376K), 4.6415273 secs]
    [Full GC 1194751K->1174738K(1365376K), 5.3647290 secs]
    [Full GC 1194751K->1183878K(1365376K), 4.5660217 secs]
    [Full GC 1194751K->1184651K(1365376K), 4.5619460 secs]
    [Full GC 1194751K->1185795K(1365376K), 4.4341158 secs]

    There's an Oracle support note with a very similar MO :
    WebLogic Server: Getting "java.lang.OutOfMemoryError: GC overhead limit exceeded" exception with Sun JDK 1.6 [ID 1242994.1]
    If I search for "java.lang.OutOfMemoryError: GC overhead" on Oracle Support it returns at least 12 documents
    Might be bug 6065704. Search Oracle support for this bug number.
    Best Regards
    mseberg

  • Allocated heap memory goes up even when there is enough free memory

    Hi,
    Our Java application's memory usage keep growing. Further analysis of the heap memory using JProbe shows that the allocated heap memory goes up even when there is enough free memory available in the heap.
    When the process started, allocated heap memory was around 50MB and the memory used was around 8MB. After few hours, the inuse memory remains at 8MB (slight increase in KBs), but the allocated memory went upto 70MB.
    We are using JVM 1.5_10. What could be the reason for heap allocation going up even when there is enough free memory available in heap?
    -Rajesh.

    Hi Eric,
    Please check if there is any error or warning in the Event Viewer based on the data time?
    If there is any error, please post the event ID to help us to troubleshoot.
    Best Regards,
    Anna

  • Heap dumps on very large heap memory

    We are experiencing memory leak issues with one of our application deployed on JBOSS (SUN JVM 1.5, Win 32 OS). The application is already memory intensive and consumes the maximum heap (1.5 GB) allowed on a 32-bit JVM on Win32.
    This leaves very few memory for heap dump and the JVM crashes whenever we try adding the heap dump flag (-agentlib:), with a "malloc error"..
    Has anyone faced a scenario like this?
    Alternatively for investigation purpose, we are trying to deploy it on a Windows X64 - but the vendor advises only to run on 32 bit JVM. Here is my question:
    1) Can we run 32bit JVM on Windows 64? Even if we run, can i allocate more than 2 GB for heap memory?
    2) I dont see the rational why we cannot run on 64bit JVM - because, JAVA programs are supposed to be 'platform-independent' and the application in form of byte code should be running no matter if it is a 32bit or 64-bit JVM?
    3) Do we have any other better tools (except HPROF heapdumps) to analyze memory leaks - we tried using profiling tools but they too fail becos of very few memory available.
    Any help is really appreciated! :-)
    Anush

    anush_tv wrote:
    1) Can we run 32bit JVM on Windows 64? Even if we run, can i allocate more than 2 GB for heap memory?Yes, but you're limited to 2GB like any other 32-bit process.
    2) I dont see the rational why we cannot run on 64bit JVM - because, JAVA programs are supposed to be 'platform-independent' and the application in form of byte code should be running no matter if it is a 32bit or 64-bit JVM?It's probably related to JBoss itself, which is likely using native code. I don't have experience with JBoss though.
    3) Do we have any other better tools (except HPROF heapdumps) to analyze memory leaks - we tried using profiling tools but they too fail becos of very few memory available.You could try "jmap", which can dump the heap.

  • Changing heap memory paramter  and Additonal Java node configuration

    Hi All,
    Kindly provide me the procedure to change the heap memory parameter and location (in Visual admin). How to install/configure 2nd Java server node in PI system.
    Thanks in advance.

    Hi Ramesh,
    You would have posted this question in Netweaver Administrator forum...
    Well here are the answers.
    Login to Configtool.
    Expand Cluster-Data->instance<xx>->dispatcher. On the right hand side you can change the heap size for the dispatcher
    Follow the same procedure to increase the server heap memory.
    To add the server node click on instance<xx>. Then click Server->Add server.
    Cheers....
    Raghu

  • Confusion on Java heap memory and WLS_FORMS

    Hello all,
    Background first:
    Oracle Forms/Reports 11.1.2 64-bit
    WebLogic Server 10.3.6
    JDK 1.6 update 37 64-bit
    Microsoft Windows 2008 R2
    Using nodemanager to start/stop managed servers
    After having read all of the documentation and searched both this forum and the Internet for advice, I'm still utterly confused about the best way to make use of memory on the server (the server I'm working on now has 8GB). The two trains of thought that I have discovered in my search:
    1). Don't change the Javaheap size at all (stick with the defaults) and just create additional managed servers on the same machine.
    2). Increase the Java heap size for WLS_FORMS
    Having said that, here are my questions:
    A). What is the best-practices approach (#1 or #2)?
    B). If it's #2, what's the approved way to increase the heap size? I have tried adding -Xms and -Xmx arguments to the WLS server start arguments in the WLS console. These are applied when the managed server is started (confirmed in the log file), but because of the way WLS_FORMS is started, there are more -Xms and -Xmx arguments applied after mine, and Java picks the last one mentioned if there are duplicates.
    First update: Question #2 seems to be answered by support note 1260074.1 (the one place I hadn't yet looked)
    Thanks for any insight you can provide. If there's a document I've missed somewhere, I'm happy to be told where it is and will read and summarize findings here.
    Regards,
    John

    John,
    Let me try to comment on each of yours:
    1). We had been getting some "Apache unable to contact the forms server" type errors (the users were seeing the "Failure of server APACHE bridge" error). The log files showed nothing of interest. I increased the memory allocated using setDomainEnv.cmd, and the error seems to have gone away. Yes, I know that it was a shotgun approach, trying something without really having a reason to do so, but it seems to have helped Edit: Now that I review the OHS logs instead of the WLS_FORMS logs, I have found log messages, which leads me to Doc 1380762.1, which tells me I need a patch. DOH. And, oh crikey, Forms 11.1.2.1 is out, it came out shortly after we downloaded 11.1.2.0 to create these environments. Good news/bad news kind of thing... <blockquote>The Apache Bridge error is fairly straight forward if you understand what it is telling you. It is an error generated by mod_wl_ohs who is owned by OHS (Apache). This module is responsible for the connection between OHS and WLS. The Apache Bridge error means that OHS (mod_wls) was unable to get a response from the WLS managed server it was calling. Basically it was unable to cross the bridge ;) The cause could be anything from the managed server is not running, to the managed server is over tasked, or there is a network configuration issue and the managed server simply didn't hear OHS calling.
    This is all discussed in MOS note 1304095.1
    As for 11.1.2.1, this can be installed fresh or as a patch over 11.1.2.0. So for machines that don't currently have anything installed, you can go directly to 11.1.2.1 without having to install 11.1.2.0 first.</blockquote>
    2). As tony.g suggested, we are looking for what we should do to solve the "I have n servers with x GB of RAM, what should I do to the out-of-the-box configuration of Forms for stability" question. <blockquote>As I mentioned, there really are no "Forms" specific tweaks related to how much RAM your machine has. The only exception to this is (although somewhat indirect) to use JVM Pooling. JVM Pooling can reduce the size of each runtime process's memory footprint by moving its java calls to the jvm pool then sharing common requests with other running runtimes. Memory usage by OHS or the WLS managed server really has little to do directly with Forms. Specifically to the managed server, from a Forms point of view, I would not expect the memory cost of WLS_FORMS to increase much because of load. I expect it to increase as concurrent load increases, but I would not expect it to be significant. If I had to guess, seeing an increase of 1m or less per user would not surprise me (this is just a guess - I don't know what the expected values would be). If we were to use our (Oracle) older scalability guidelines, typically we would have suggested that you should consider about 100 sessions per 1 jvm for best performance. Given that v11 uses a newer java version and scalability is better today, I suspect you can easily scale to a few hundred (e.g. 300) or so before performance drops off. Beyond that, the need to add more managed servers would likely be necessary.
    This is discussed in MOS note 989118.1</blockquote>
    3). HA is important to us, so we are implementing a cluster of Forms/Reports servers with an LBR in front of it. I have read in the docs on clustering, cloning a managed server, and via Support, how to increase the heap memory for the WLS_FORMS server. My thought process was "if Oracle gives me instructions on how to increase heap memory and how to clone managed servers, there must be a scenario in which doing so provides benefit." I'm trying to understand the scenarios in which we would do either of those activities. <blockquote>Refer to the note I mentioned above. Generally, if you limit the number of concurrent sessions to less than around 300-400, I would think the default settings should be fine. If you think you would like to go beyond 300 or 400 per managed server then likely you will need to increase the max heap for the managed server. Again, refer to the note I mentioned previously.
    Also see MOS note 1260074.1</blockquote>
    I am aware of the JVM pooling (yes we do call out to Reports) - I've yet to implement this, but it's on my to-do list.
    <blockquote>This is discussed in the [url http://docs.oracle.com/cd/E38115_01/doc.111210/e24477/jvm.htm]Forms Deployment Guide</blockquote>
    Hope that helps ;)
    .

  • Threaded inner classes & heap memory exhaustion

    (_) how can i maximize my threading without running out of
    heap memory?
    push it to the limit, but throttle back before an
    java.lang.OutOfMemoryError.
    (_) within 1 threaded class ThreadClass, i have two threaded inner classes. for each instance of ThreadClass i only
    start one instance of each inner class.
    and, i start hundreds of ThreadClass, but not until the previously running ThreadClass object exits, so only one should be running at any given time.
    so, what about threaded inner classes?
    are they good? bad? cause "OutOfMemoryErrors"?
    are those inner threads not dying?
    what are common causes of:
    java.lang.OutOfMemoryError: java heap space?
    my program runs for about 5-minutes, then
    bails with the memory error.
    how can i drill down and see what
    is eating-up all my memory?
    thanks.

    A Thread class is not the same as a thread of
    execution. Those inner class based threads of
    execution are not dying.maybe. but this is the way i test a thread's life:
    public void run() {
    System.out.println("thread start");
    System.out.println("thread dies and release memory");
    }for each inner thread, and the outer thread, this approach for
    testing thread life reveals that they die.
    Why don't you use a thread pool?ok. i will think about how to do this.
    >
    If not, you need to ensure those inner threads have
    exited and completed.what is a 100% sure check to guarantee a thread exits other than
    the one i use above?
    note:
    the outer thread is running on a remote host, and the inner threads
    are running locally. here are the details:
    public class BB implements Runnable, FinInterface {
      public void run() {
        // do some work on the remote machine
      private void startResultsHandler(OisXoos oisX) {
         ResultHandler rh = new ResultHandler(oisX);
         rh.start();
      public void startDataProxy(OisXoos oisX, String query) {
         DataProxy dp = new DataProxy(oisX, query);
         dp.start();
            public class ResultsHandler extends Thread {
               // runs locally; waits for results from servers
               public void run() {
                   ObjectInputStream ois = new ObjectInputStream(oisX.input);
                    Set result = (Set) ois.readObject();
            }  // ____ class :: _ ResultsHandler _ :: class ____
           public class DataProxy extends Thread {
               // runs locally; performs db queries on behalf of servers
               public void run() {
                   ObjectOutputStream oos = new ObjectOutputStream(oisX.output);
                    while(moreData) {
                        .... // sql queries
                        oos.writeObject(data);
                 StartResultsHandler(oisX);
            } // _____ class  :: _ DataProxy _ :: class _____
    }now, the BB class is not started locally.
    the inner threads are started locally to both service data requests
    by the BB thread as well as wait for its results.
    (_) so, maybe the inner threads cannot exit (but they sure look
    like they exit) until their parent BB thread exits.
    (_) yet, those inner threads have no knowledge that the BB
    thread is running.
    externalizing those inner thread classes will put 2-weeks of work
    in the dust bin. i want to keep them internal.
    thanks.
    here this piece of code that controls everything:
    while(moreData) {
      FinObjects finObj = new BB();
      String symb = (String) data_ois.readObject();
      OisXoos oisX = RSAdmin.getServer();
      oisX.xoos.writeObject(finObj);
      finObj.startDataProxy(finObj, oisX, symb);
    }

  • How can i increase the maximum size of a text column in Access

    hello,
    i am inserting data in the MS-Access database through my servlet and am getting the exception whenever the length of the text data is more than 255 characters as in Access the maximum size for character data column is 255 can anyone tell me if there is any way by which i can increase the maximum limit of the column size in Access ,i.e. to make it more than 255.

    A text field in Access has a maximum size of 255 characters. If you want to store text information in Access larger than 255, you need to use the memo rather than text data type. There are special considerations for using an Access memo data type and accessing it through JDBC. Specifically, I believe it must be accessed as a binary object (BLOB), rather than text when using the JDBC-ODBC bridge. There are lots of discussions within these forums regarding how to manage, and the issues with using the Access memo data type.
    Good luck!

  • How can we increase the maximum number of records which we export from UME

    Hi All,
             Is there any way to increase the maximum number of records which we can export from the UME.
    Please give your valuable suggestions as soon as possible.
    Thanks in Advance
    Regards,
    Ramalakshmi.S

    I didn’t find any configuration you can set to increase the number. I think it is related UI. The number is designed programmatically.
    Lisa Zheng
    TechNet Community Support

  • HT1338 Hi, Is there a way to increase the maximum size of a download? I'm trying to download Adobe premiere pro (1GB) and I'm getting an error message that says my maximum download is 10 MG

    Hi, Is there a way to increase the maximum size of a download? I'm trying to download Adobe premiere pro (1GB) and I'm getting an error message that says my maximum download is 10 MG

    That's between you and your internet service provider.  By the way, you posted to the 10.3 forum.  10.3 can't run on your MacBook Pro. Don't forget the following facts:
    b= bit
    B = Byte
    8 bits in a byte
    A typical DSL connection has 1 Mbps speed or 128 kBps speed.
    At that speed
    1 minute gives you 7.5 MB
    10 minutes gives you 75 MB
    100 minutes gives you 750 MB
    A typical cable connection can be 5 times faster although some are 30 times faster.
    A typical fiber connection is 15 times faster and some are 50 times faster.
    Ask what your speed is rated at.

  • Memory increase problem on Solaris

    We need your help in understanding and solving a memory problem in one of our products running on Soalris. The server memory keeps growing and there is a fear of a server crash.
    We've run our product with Purify and libumem to identify memory leaks. Both of these products didn't report any leak. So, we are very much confident that there are no memory leaks in the product. Still the memory increase is seen on Unix systems. We've done extensive analysis on this subject and absorbed some key points regarding memory management in Unix.
    1) Memory doesn't shrink on Unix systems. This is for the libc to retain the released memory and reuse it for further memory requirements.
    2) Based on the memory requirements to our application there can be a stabilization point where in the application can serve all memory requests.
    After reaching this point the Server memory doesn't increase.But the fear is that it may exceed the hardware resources constraint.
    3) Rapid increase in memory can be because of Memory Fragmentation problem. There are environmental variables like Small Block Allocator (_M_SBA_OPTS) and Arena (_M_ARENA_OPTS) on HP-Unix machines which can be used to address Fragmentation issues. We've performed some tests using these variables and found significant improvement in the usage of memory. This confirms that there are no memory leaks. These variables are specific to HP-Unix machines and we are unaware of similar variables/mechanism on Sun Solaris Platform. Please recommend some environmental variables/mechanism on Sun Solaris platform to solve fragmentation problem.
    We are performing some tests to observe memory stabilization over a period of time .
    The memory bloat is following a pattern. Memory is increasing in chunks of (MB) 2,4,8,16,32,64,128,256,512,1024 MB pattern.
    For example if Memory increase is 64 MB, then it stabilizes for some time and the next increase would be 128 MB at a time.
    Then it stabilizes for double the time consumed earlier for 64 MB and after that only increases by 256 MB.
    So the memory increase and stabilization time are getting doubled each time. Please validate our analysis and kindly suggest what can be done on Unix platforms for solving this memory increase problem.

    Thanks MaximKartashev for your inputs.
    Ours is a Multithreading application. We are testing it with Hoard for the last three days. The observation so far has been that the performance of Hoard is high but the bloat pattern is not avoided.
    Even with Hoard, memory bloat is following a pattern. Memory is increasing in chunks of (MB) 2,4,8,16,32,64,128,256,512,1024 MB pattern.
    We are searching for other ways to control this pattern and stabilize the application by making it to reuse the fragmented memory completely.
    We have also tried Solaris libgc memory allocator (http://developers.sun.com/solaris/articles/libgc.html). It worked well initially and memory drop was seen. But on heavy load, it crashed the application with 'Can't allocate header' error. So this can't be used for heavy load.
    We are trying to use Boehm-Demers-Weiser Garbage Collector (http://www.hpl.hp.com/personal/Hans_Boehm/gc/). Do any one have idea, if it controls memory fragmentation ?

Maybe you are looking for

  • Cleaning cache, Cleaning cache

    How do I clean my cache ... computer really sluggest!!!  Help! 

  • Aperture for a Powerbook G4?

    Hi! I have a powerbook G4 - 17" - Leopard and I´m planning to buy shortly a Macbook pro. However before I do I´m testing new applications in order to figure what applications I want for my new mac. I´m using photoshop and iphoto, but I read great thi

  • Subject of the Email (CHARM/ServiceDesk)

    Hi, from what I have seen, the subject of the mail sent from my smartform is taken from the Description field of the smartform. Is there a way to do something like a dynamic subject ? Like prio or subject of the message. Kind Regards Dirk

  • My user account and password won't be deleted after the 10.6.7 update?

    hi, i want to know if i can keep my account and password. i already know i need a backup, but, i can't update with this pending. please, help me. i don't want to be bored all the time with this old system.

  • Shared object files no longer saving in Chrome

    Google Chrome     12.0.742.112 (Official Build 90304) Flash     10,3,181,34 OS: Vista 64 Shared object files (.sol files) stopped saving to my local machine some time since 10pm on 6/28/11 (EST).  I assume Chrome updated when my computer randomly shu