Running Multiple JVM's on same Server has OutOfMemory - PermGen Errors

I have a scenario where I have 2 application servers. One is running one JVM and the other is running multiple JVMs.
Both are configured with:
-XX:+UseConcMarkSweepGC
-XX:+UseParNewGC
-XX:MaxPermSize=256m
-XX:+CMSPermGenSweepingEnabled
-XX:+CMSClassUnloadingEnabled
The server that is running with only 1 JVM runs stable, however the server that is running multiple JVMs has frequent crashes due to OutOfMemory - PermGen errors. The only other difference is the Heap size. 512mb for each JVM on the app server with multiple instances and 1GB for the server with 1 instance. Is there a relationship/settings that need to be tuned when running multiple JVM's on the same server to avoid this?
Thx

The only other difference is the Heap size. 512mb for each JVM on the app server with multiple instances and 1GB for the server with 1 instance.This isn't a trivial difference. Basically you're saying "When I give the server 1 GB then it's okay but when I give it 512 MB it's not okay." If I saw those symptoms I would take them at face value to start with.
So, turn off one of those servers on the machine that has two. Don't change anything else. Testable prediction: That won't fix your problem.

Similar Messages

  • Running multiple agents on the same server

    Has anyone run multiple instances of essbase on the same server, using the agentport command? If so, how well did it work and what do you think about running it in a production environment?Thanks alot!

    I have tested it, but the documentation does not recommend using this feature in production. You can achieve the same thing with creating test applications/databases.Also, when you run 2 instances of the agent on one box, you must modify the essbase.cfg of the client machine to indicate which instance (port) that client will connect to.Regards,Jade------------------------------Jade ColeSenior Business Intelligence ConsultantClarity [email protected]

  • DataGuard - multiple standbys on the same server

    DataGuard - multiple standbys on the same server
    I have my primary database on one server and I have 2 physical standby databases on another server. Is it possible to configure it so that the archive logs are pushed to the backup server only once? Can they be written to a single location on the backup server and accessed by both standby databases?

    Justin... Hold on !!! it seems that user is asking for test, not for real scenario.
    Anyways, it could be possible without mentioning undocumented parameters. You just need to enable log_archive_dest_n and log_archive_dest_state_n parameter and configure tnsnames so you can mention service there.
    Pls. check and revert back if I am wrong here.
    Cheers !!!
    Star Nirav
    Personally, I would be suprised if you could get two
    standby databases to run on a single failover machine
    without resorting to some of the unsupported
    parameters that are required to get a primary &
    secondary running on a single machine for development
    purposes. I can't imagine how two standby databases
    could pull archived log files from the same directory
    and apply them at completely different times.
    Generally, you would want your failover system on a
    different machine than the reporting system since
    they serve relatively different purposes.
    Alternately, have you looked at using a logical
    standby to serve both purposes?
    Justin

  • Disallow running multiple instances of the same web start application..

    on the client? I have an application that is launched on the client by clicking on the link to the JNLP file. The problem is that I don't want the application to launch twice if the user clicks the link twice. Is there a way to keep web start from running multiple instances of the same app?
    I don't want to just disable the button after it is clicked because then the user won't be able to get back in if they need to.
    Any help out there?
    Thanks,
    Melanie

    The way I do this is to try connect to an obscure port number on the localhost at startup.
    if this connection succeeds I assume the app is already running. otherwise the program continues and registers as a server at that port number.
    I actually take this a little bit further by registering a web server at this port (I use the Brazil server), That way if the program finds an instance of itself running it can send a message to the web server and ask the program to do something (like start another window if,for instance you wanted to allow this but only within the same VM).

  • The server has encountered an error processing registration. Please try again later"

    Hello, I just got my MAC Book Pro and it I can not log into FACETIME it states " The server has encountered an error processing registration. Please try again later" now it is not due to incorrect information entered. However I also have an IPad mini and I could log unto that without any problems.. Greatly appreciate any help!

    Back up all data.
    Take the steps suggested in this support article:
    FaceTime, Game Center, Messages: "There was an error processing registration" when signing in
    The time zone must be correct for your location.
    Make sure you know your ID (an email address) and password. The password should be in your keychain, which you access in the Keychain Access application.
    Sign out of iMessage:
    Messages ▹ Preferences ▹ Accounts ▹ Sign out
    Then sign back in with your verified credentials.

  • Why does my FaceTime say "the server has encountered an error processing your registration"? it happens every time i try to verify my email address.

    Why does my FaceTime say "the server has encountered an error processing your registration"? it happens every time i try to verify my email address.

    While we all have MacBooks in this forum not all of us use FaceTime. There's a FaceTime Support Community where everybody uses FaceTime. You should also post this question there to increase your chances of getting an answer. https://discussions.apple.com/community/mac_app_store/facetime_for_mac

  • The server has experienced an error on startup.

    Has anyone seen this error before?
    The server has experienced an error on startup. This problem must be fixed before using the system.
    I am not sure what caused it but I first saw it after restarting the server and now when I go to http://localhost/portal/server.pt that message appears.
    Any ideas on how to fix it?
    Thanks.

    I've seen this one when the connection to the database is failing for some reason. To see what is happening, restart IIS (or java server) to clear the cache, start PTSpy and then try to hit the page again. You should see all the startup messages and any errors.
    Hope this helps,
    Adam

  • Hi.. i got an macBook air and i can not get with face time it saids the server has found an error try later. i just move to holland is that the reason?

    Hi... i got a MacBook Air and im trying to use face time i already sing in but it saids that the server has found an error with registration.. i was living in mexico city but i just move to holland is that the reason? thanks!!

    Hello, lulufrommexico df. 
    Thank you for visiting Apple Support Communities.
    Here are a couple troubleshooting articles I would recommend going through when experiencing this issue.
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/ts3970
    FaceTime for Mac: Troubleshooting FaceTime
    http://support.apple.com/kb/ts4185
    Cheers,
    Jason H.

  • Essbase performance issue when calc scripts are run on FDM cube on same server

    We have a large Essbase application which has high usage on a daily basis, which is being impacted when we run Calc scripts on an FDM forecast cube which is on the same server. The large application is on EIS 11.1.2 and the FDM cubes are being migrated to the same server and also being upgraded from EIS 7.1 on Unix to EIS 11.1.2 on NT. Every time the Calc scripts are run on the FDM cube, the performance of the Essbase application is degraded and it shuts down after some time.

    Sudhir,
    Do you work at a help desk or are you a consultant? you ask such a varied range of questions I think the former. If you do work at a help desk, don't you have a next level support that could help you? If you are a consultant, I suggest getting together with another consultant that actually knows more. You might also want to close some of your questions,. You have 24 open and perhaps give points to those that helped you.

  • Running Cluster LDOMs on the same server

    I'm doing some testing of moving ldom's to multiple servers and sometimes the same server. I'm running into a problem where I can't bind the same vdsdev device to multiple ldom's on the same machine. I'm doing CFS within the guest domain and it works fine across machines but not on the same one. Anyone else run into this kind of issue.
    Thanks
    Buck

    I have tested it, but the documentation does not recommend using this feature in production. You can achieve the same thing with creating test applications/databases.Also, when you run 2 instances of the agent on one box, you must modify the essbase.cfg of the client machine to indicate which instance (port) that client will connect to.Regards,Jade------------------------------Jade ColeSenior Business Intelligence ConsultantClarity [email protected]

  • Open/run Multiple Windows of the same VI

    Hi!
    In my current project I would like to have the user open multiple windows of the same VI.  I've made a re-entrant VI:
    This is, currently, a very simple VI that just has a numeric control, a loop, and a stop button.  I then have a VI that calls the re-entrant VI.  I'd like it so that each time the user presses the "Call Re-Entrant VI" button, a new window of this VI is spawned and run.
    The first time the button is pressed, the re-entrant VI opens and runs fine. The title of the VI in the title bar is "Re-Entrant.vi:1 (clone)" (as expected).  When I try to launch another instance I get this error:
    I'm running LabVIEW 2009.
    Thanks for your time.
    Solved!
    Go to Solution.

    Here we go.  The Close Reference VI was causing my re-entrant VI to stop execution.  What do you think of this:
    This appears to work.  I'd probably want to get the path of my referenced re-entrant VI outside of my loop (since this will remain constant throughout the programs execution).  My guess is the Auto Dispose Ref feature will mean that as these windows are closed by my user, their garbage will be collected properly....?
    Thanks for your help.
    Edit: how odd that my Error Cluster constant in the VI Snippet wasn't saved to the image properly.
    Message Edited by Nickerbocker on 10-08-2009 10:33 AM

  • What am I doing wrong when running multiple applications with the Web Server enabled ?

    I am running multiple Vi's (applications) on the same Nt Workstation and the Web Server is enable for all applications. However, I am able to view only one Panel from the browser. Only the first application that is started can be viewed. What am I doing wrong ?

    Only one application can act as a web server at the default http port 80.
    To solve this either run all VIs into a single application or use different
    http ports for each application. For example an application can use the
    default port 80 and others use ports 8080, 8081, 8082 etc.
    In the browser, you enter the URL for non default ports as
    http://hostname:8080/...
    HTH
    Jean-Pierre Drolet
    "zemaitis" a ecrit dans le message news:
    [email protected]..
    > I am running multiple Vi's (applications) on the same Nt Workstation
    > and the Web Server is enable for all applications. However, I am able
    > to view only one Panel from the browser. Only the first application
    > that is started can be viewed. What am I doing
    wrong ?
    LabVIEW, C'est LabVIEW

  • Multiple Apps on the same server

    Hope you can help and point me in the right direction.
    I am managing a CF internet based application built using CF
    6.1 and which talks to a MS Access 2K dB. The app is running on a
    MS Windows 2K Adv Server, IIS [with a SSL cert.] and CF 6.1 Std
    Server.
    I now need to run a second separate application on the same
    server.
    My questions are:
    1. Is this possible?
    2. If yes to 1 can anyone point me in the right direction as
    to configuring IIS and CF to run the second application? This
    second app will also require a SSL.
    TIA, K

    First off run as far and fast away from using Access for your
    DB back end as possible. Access isn't meant for this kind of work.
    Next, you'll need to setup a new virtual server (with its own
    dedicated IP address) in IIS.
    Configure your new server to its new web root and optionally
    reconfigure your log files.
    Create a new CSR with all the right information and send it
    to your SSL creator. Pay for cert with them, and wait for it to
    come back. Install new cert and optinally reconfigure the site to
    force SSL where necessary.
    Add any necessary data sources in the ColdFusion admin
    If your root config stuff for CF was setup correctly
    everything should just magically work (tm).

  • Running multiple JVM's using JNI

    I am having problems starting multiple JVM's in our C++ application which is multi-threaded.
    Iam able to start one JVM but when I attempt to start the second JVM in a new thread it fails with
    the error of -5. This error states that a JVM is already running.
    Help!

    You can run more than one process that needs JVM using the AttachThread, DetachThread and GetCreatedJavaVMs calls.
    First determine to see if you have a JVM -- using GetCreatedJavaVMs. Check if you can get the environment pointer (GetEnv call). Then try AttachThread. Once you are done, do a DetachThread.
    This might give you a possible workaround/solution.
    Regards,
    Satish

  • Problems with Sent mail and multiple accounts on the same server

    I have 2 different email accounts that are on the same server. Regardless of the account from which I send the email, all of the sent messages end up in the same sent folder. Is there a way to force the sent messages to go into their correct Sent folder?

    In the Finder, go to ~/Library/Mail/. With that folder open, do Edit > Select All (⌘A), then Edit > Copy (⌘C), and paste it in your reply to this post, to let me see the names of the files and folders present at the root level of the Mail folder.
    Before actually posting that information, you may edit it so that the file/folder names do not reveal any details you wish to keep private, e.g. you may replace any real username with "username" to hide your real email address if you wish; similarly, you may disguise any domain names you don't want to be revealed. Try to be consistent in how you disguise those details, though, as we may need to refer to them in subsequent posts.
    Now, go to ~/Library/Mail/Mailboxes/. With that folder open, repeat the process to let me see the names of the files and folders it contains. Again, you may disguise any mailbox names you wish to keep private. Be careful to not alter any suffixes, though.
    Finally, for the two accounts involved in the problem, locate the account folders within ~/Library/Mail/ -- their name begins with the account type (POP, IMAP, Mac), followed by the account username and the incoming mail server. For each account folder, repeat the process to let me see the names of the files and folders it contains.
    Note: For those not familiarized with the ~/ notation, it refers to the user's home folder. You can easily locate any of the folders referred to in this post by copying the file path here, doing Go > Go to Folder in the Finder, and pasting the file path there.

Maybe you are looking for

  • Why Did My iPod Touch 4th Gen Stop Sync Entourage?

    I just noticed that my items from Entourage 2008 are no longer syncing - Contacts, Calendar, but I don't know when that problem began or why. I've had no problems syncing my iPod Touch 4th Gen since I bought it many months ago. Other programs such as

  • Creating a report that's compliant with SEC

    Does anyone have experience in creating a marketing log that's compliant with SEC. Need to generate a report that shows whichmarkting materials were sent, how they were sent (email or mail) date sent and by whom. any advice is much appreciated. i've

  • I can't use my iPad2 with CANON EOS 350D

    I can't use my iPad2 with CANON EOS 350D

  • Events from iPhoto on my Mac wont sync to my iPad2 after upgrading to iOS8

    I recently updated to iOS8 on my iPad2.  During the update I got a message that the update failed and my iPad was stuck in Recovery Mode.  After Restoring my iPad2 and loading the most recent backup, I'm having issues with syncing all of my data back

  • Intracompany asset transfer of depreciation only

    We have some assets that were loaded with our legacy load.  They have no APC value, only Accumulated Depreciation. Is it possible to partially transfer these assets to other assets Accumulated Depreciation that have APC without affecting the APC of r