Getting OutOfMemoryError -- Help!

Hi all,
Anyone knows how to increase memory size of MSJVM??
I have web services written in VB6 and running on IIS. Inside web service function, it calls java classes provided by vendor through J++. We package it in dll and register that in our webserver so that it can be called in VB6 web service functions.
Now my problem is I keep getting "java.lang.OutOfMemory" error.
Any idea how I can resolve it?? If I remove MSJVM and install java JVM, will it be better? Even i migrate to java JVM, how am I supposed to set the heap size of Java JVM because I don't know when the JVM gets loaded from IIS ??
Many thanks in advance because I am already out of ideas to solve this problem!

If you are using MSJVM then I can only think of two causes of your java.lang.OutOfMemory.
1. Your page file isn't big enough for all the process you are running.
2. You are on a 32bit hardware or you are running 32bit OS/or 32bit VB6 on 64bit hardware and you have reached the limits of the 32bit address space for memory on Windows for your VB6 application.

Similar Messages

  • Getting OutOfMemoryError with REST webservice

    Hi,
    I need some help with my configuration regarding
    the listener (version 2.0.1.64.14.25 as stand alone with Application Express 4.2.1.00.08):
    I consume (via $.ajax(...)) a REST-Webservice for request a clob value.
    Configuration of my Ressource Handler:
    method: GET
    Requires Secure Access: No
    source type: "Query one Row"
    Pagination Size: 1
    Source: select id, col3 from csvloader where id = :ID
    This works as excepted until I want to load a value that is bigger then 65 kb.
    In my cmd box, where the listener is stated, I noticed the following error:
    22.03.2013 14:18:49 oracle.dbtools.rt.web.WebErrorResponse internalError
    SCHWERWIEGEND: Java heap space
    java.lang.OutOfMemoryError: Java heap space
    ("SCHWERWIEGEND" means "fatal" in german)
    In order to avoid this error, I tried to increase the heap space:
    java -Xms500m -Xmx1024m -jar apex.war
    -> no change, still getting OutOfMemoryError (HTTP 500 Errorcode)
    Any suggestions, hints?
    Thanks for your help!
    Michael

    Hi!
    I'm still working on this topic. I updated the listener to the newest version 2.0.2.133.14.47
    but this is not a solution for my problem.
    Steps I've done:
    - raised JVM-Memory: GlassFish -> JVM configuration -> JVM options: add/set "-Xmx1024m" and "-XX:MaxPermSize=256m"
    - raise "-Xmx1024m" to "-Xmx1224m" -> glassfish doesn-'t start
    Maybe I have a problem with my os: I use windows XP (32bit) in a virtual machine. Seems that JVM don't get enough
    memory. On the other hand, I just want to get about 65 - 72,5 KB from a blob-field to my browser....
    Any suggestions for me?
    Thanks a lot!
    Michael

  • When I try to open photoshop I get a "help adobe improve it's produts" dialog box every time and it freezes

    When I try to open photoshop I get a "help adobe improve it's produts" dialog box. No matter what I do, I get this box when I try to open a file in photosop never opens although it appears to be

    Hi Steadyalberta,
    Something might be preventing Photoshop from being able to save your selection on the dialog window properly. You might try right clicking and choose Run as Administrator on the Photoshop icon when launching (Windows) or test if the behavior persists when using a newly created admin user account.
    Hope that helps,
    - Dave

  • HT4910 i save my photos to camera roll. then back up but can't see it on icloud. why? we just lost 300 photos on my other iphone because we do not get proper help. that's why i need to learn now.

    i save my photos to camera roll. then back up but can't see it on icloud. why? we just lost 300 photos on my other iphone because we do not get proper help. that's why i need to learn now.

    You can't view your back up files at icloud.com.
    You can't view your camera roll and you can't view your Photo Stream files at icloud.com.
    The icloud back up plan allows you to "restore" your iOS device from the files you backed up at icloud.com.

  • I'm having trouble loading photos on my I phone 4s and I pod.  I don't see the photos tab in Itunes?? Prob user error but wanted to get some help.

    I'm having trouble loading photos on my I phone 4s and I pod.  I don't see the photos tab in I-tunes? I'm sure its user error but wanted to get some help.

    What's the origin of this external drive? It sounds very much like it's a Windows-formatted (NTFS) drive which Macs can't write to. If you can, copy the files off the drive, reformat it as Mac format (using Disk Utility) and copy the files back. If you need to continue writing to it from a Windows PC, you should format it ExFAT in Disk Utility.
    Matt

  • I just bought a new 2TB time capsule and I am so frustrated that I cant get any help!!!!!

    Yesterday, I bought a new (4th gen) 2TB TC to replace by mid 2007 500gb TC. I did this simple to upgrade the wirelass capability to the very latest as the wifi in our home is intermittent. I also bought a Zepplin recently so that i could use Airplay to stream music but the wifi is also intermittent, it works when it wants to and not usually when when i want it too!! Hence the purchase of a new TC for £249.
    The instructions on the Apple site and in the instruction book all say it is so easy to set up the TC and the wireless network.
    So here I am , 24 hours later and frustrated at having spent hours and hours and gotten no-where. Ive logged calls with Apple Support and even though I am sat by the phone they keep emailing me saying they've tried to reach me and if I still need help then to rearrange a call!! But I'm here!!!
    Here's my problem (apart from the desire to take the TC back and get a refund)...
    - when I open Airport Utility (6.2), I get a picture that shows the world and the word Internet with a line to the time capsule but all the instructions that I have found and read say that I should get a dialogue box that lists the devices on the left hand side. The instructions with the TC say I open AU and follow the instructions and prompts - what instructions and prompts, there arnt any!!!
    - also, the picture does NOT pick up the 2 airport expressess in the house that I used to extend the wirelass network on the previous TC
    - there is no option to extend the wireless network
    - every now and then the TC light goes Yellow and airport utility "looses" the TC
    - TC seems to want to back up the entire MAC (c350gb) but it is doing so at a very slow speed and only did about 2.5gb over night. I dont mind a whole new backup to the new TC but it cant be right that it will take 19 days (the last time I looked!)
    My main frustration is that the so-called simple instructions dont seem to replate at all to my system and I'm frustrated because I dont know where to go to get any help....and if Apple email me one more time to say they cant reach me then I will definately take the TC back!!
    Can anyone help me?
    p.s. sorry for the rant, i though this would be a half hour job to upgrade my wirelass and is turning into a nightmare!

    Unfrotunately, this sounds like a dead TC.
    - also, the picture does NOT pick up the 2 airport expressess in the house that I used to extend the wirelass network on the previous TC
    - there is no option to extend the wireless network
    You need to reconfigure the Expresses to rejoin the TC's network via a factory reset.

  • I have a new ipad.  I can't get support without my serial number.  Ipad won't turn on.  I ordered it from Target so I have no receipt.  I can't get telephone help without serial number.  What to do?

    I have a new ipad.  I can't get telephone support without my serial number.  The ipad won't turn on.  I order it from Target and there is no serial number on the invoice.  How can I get telephone help without serial number?  Please help!

    The Serial Number is on the back of your iPad.

  • How to get f4 help in alv grid in container-urgent

    hi,
    how to get f4 help in alv grid in container using abap objects
    ganesh

    Hi Ganesh,
    Did you have a look at sample report BCALV_TEST_GRID_F4_HELP ?
    Here is part of the header documentation:
    *& Report  BCALV_GRID_F4_HELP                                          *
    Purpose:
    ~~~~~~~~
    This report illustrates the use of f4-Help in an alv grid control.
    Background:
    ~~~~~~~~~~~
    There a two possibilities to implement an f4-Help in the alv grid
    control: one can either use standard f4-help or write one by Hand.
    For the former there is nothing to do at all. This report shows how
    to implement user-defined f4-help.
    I am sure you will find within this report the solution you are looking for.
    Reward points if this Helps.
    Manish

  • Error while trying to get F4 help for a field mapped to an info object

    Hi,
    I am getting the following exception while trying to attach a search help to a drop down list box.The field belongs to a table on the BW server which has an explicit search help attached to it.I am getting the following exception:
    An exception occurred. This exception is dealt with in more detail below    
    . The exception, which is assigned to the class 'CX_BSP_SERVICES_SHLP', was neither            
    caught nor passed along using a RAISING clause, in the procedure "_ONCREATE"  "(METHOD)" . Since the caller of the procedure could not have expected this exception to occur, the running program was terminated. The reason for the exception is: The input help is not suitable.                                                  
    As I am new to BW server I am unable to find the solution.Please help me out.
    Regards
    Tejaswini

    Hi Craig,
    I was actually not using the f4 help of the
    IF_BSP_SERVICES class. Now I want to implement this as I have got many fields on my page. But I am getting the above mentioned error while doing this. The Code in OnInitialization() is:
    data: dataref1 type ref to data.
    data:wa_r8t_prog type ZR8T_S_API_PROG_H.
    get reference of wa_r8t_prog-ZR8CPRGTY into dataref1.
    try.
    call method runtime->ddic_utils->get_simple_helpvalues
    exporting
    data_object_ref = dataref1
    changing
    helpvalue_tab = t_vallist.
    catch cx_bsp_services.
    endtry.
    But I have a search help attached to 'ZR8T_S_API_PROG_H-ZR8CPRGTY' field
    My 'ZR8T_S_API_PROG_H' structure definition is as follows:
    .INCLUDE     ZR8T_REBATE_PROG          0     0     Rebate Program
    ZR8CPRGID     /BIC/OIZR8CPRGID     CHAR     32     0     Rebate Program ID
    COMP_CODE     /BI0/OICOMP_CODE     CHAR     4     0     Company Code
    ZR8CPRGTY     /BIC/OIZR8CPRGTY     CHAR     5     0     Program type
    Can I get f4 help from search help exits or do I have to use only value tables?
    Regards
    Tejaswini
    Message was edited by: Tejaswini Das

  • My iPhone 6 can't find my macbook pro on the airdrop list, although everything is in place, bluetooth, wi fi gets, need help please ?

    My iPhone 6 can't find my macbook pro on the airdrop list, although everything is in place, bluetooth, wi fi gets, need help please ?

    Dear Niel, thank you but my mac is (MacBook Pro (Retina, 15-inch, Early 2013).
    and i can send from it to my iPhone , but not vice versa

  • We need to get some help and explanations about iChat video not working.

    I've read so many postings about iChat Video hoping for an answer to my problem, but not only did I not find an answer, no one else has been receiving an answer either.
    I've had multiple problems with my ichat video not working.
    I either get an error saying someone didn't accept which isn't the case, or I get some error-8 or something ridiculous like that.
    Can we get some help from apple support or something?!

    Short answer: No, we can´t...!
    Apple don´t care about us users, unless you pay for an Apple Care Service. Try your best to follow some advices from around this forum. That´s the only help you will get.
    Some people have got their iChat video working again after following some advice. By the way. I´m not one of them... I´ve tried every single tip I read here, but I´m still stuck with text chat only...
    Good luck.

  • While trying to convert pdf to word--keep getting message "an error occurred while trying to access the service"  Could I get some help please?

    Could I get some help with this?

    Hi Shelly,
    Are you trying to log in to ExportPDF from Reader? If so, please make sure that you have the most current version by choosing Help > Check for Updates in Reader. You should be using version 11.0.07 (Mac OS) or 11.0.08 (Windows)--earlier versions caused this sign-in error that you're seeing.
    Let us know how it goes!
    Best,
    Sara

  • How to get F4 help for Standard Text Key of a operation based on Order type

    Hi Experts,
      How to get F4 help for Standard Text Key (STK) of a operation based on Order type entered in selection screen. The F4 help should give the STK of related order type. At the same time the F4 help for Task Types based on Notification type. How to acheive the above two. Please provide the table names or any search help name if exists or Function modules...
    Thanks in Advance.
    Regads,
    Bujji

    Hi Guys,
       Any help on this...
    Regards,
    Bujji
    Edited by: Bujji on Dec 22, 2008 12:42 PM
    Edited by: Bujji on Jan 5, 2009 2:00 PM

  • How to get online help when creat new filter files in EDS?

    I want to creat some my own filter files in order to get Event report from network management station when some special situations appear.
    I have run /opt/CSCOpx/bineds -filter,and the Named Filter window appears,I select new a file,later select "add Generic events",during this course I tried to get online help with Help Icon, but the messages:"could not run netscape to display help netscape:not found."appears.
    But I have install the netscape in the directory /opt/netscape, why it can't be found?I want to know whether there is some conf file in some place that has named a path name for the netscape diffrent from /opt/netscape.Is ther any such files?Thanks very much!

    Since there has been no response to your post, it appears to be either too complex or too rare an issue for other forum members to assist you. If you don't get a suitable response to your post, you may wish to review our resources at the online Technical Assistance Center (http://www.cisco.com/tac) or speak with a TAC engineer. You can open a TAC case online at http://www.cisco.com/tac/caseopen
    If anyone else in the forum has some advice, please reply to this thread.
    Thank you for posting.

  • I cant buy any thing tell i get some help

    i got 1 free credit for a song but evrey time i try to use it i cant it tels me that i got to verafy my account so i do then it tells my it needs some billing info so i put that in and it tells me to conttact apple support so i was just bwondering if i can get some help please and thank you.

    Apple  Support  iTunes Store  Contact Us

Maybe you are looking for

  • How can I redownload itunes music?

    I have lost all of my itunes music purchases after a computer crash. I can read on the internet that it is possible to redownload music purchases, but I cannot find the form nor page. Can anyone help me?

  • Clafirication on Login Detials  when using JNDI in Toplink

    Hi, I am using Toplink in my application for connecting to Database using JNDI ,which is specified in session.xml ,given below <toplink-configuration> <session> <name>default</name> <project-xml>META-INF/toplinkMapping.xml</project-xml> <session-type

  • Declaring a cursor

    hi all, is it possible to declare a cursor like this ..??? declare cursor is select ab.col1,cd.col2 from (select a.col1,b.col2 from a,b conditions)ab (select c.col1,d.col2... from c,d conditions..)cd i am getting the following error PL/SQL: ORA-00923

  • Error ORA-12560 TNS protocol error

    I tried ti install Oracle 8.1.6 for Netware and when starting the database returns the following message: ORA-12560: TNS:protocol adapter error. I'm new to Oracle and any advice will be appreciated. Thanks in advance, Ernesto

  • When i try to update an app on my ipad it says its not in the correct store it says its in colombia...

    when i try to update an app on my ipad it says its not in the correct store and i log into my computer go to apple.com and sign in with my ID and go to country/region and click United states of Amerca and It doesn't change it... whats wrong?