Heap errors in Windows NT 4.0

Running a Java app under JRE version 1.4.1_03-b02 on a PC running NT 4.0 with 256 MB RAM. The app runs 7x24 doing OCR and business logic. The app uses JNI to talk to a C++ DLL, uses Oracle JDBC thin driver, Javacomm 2.0. It has been stable for several years, but on this platform we get Dr Watson errors intermittently indicating problems interacting with Windows heap management - either RtlFree or sbh_set_threshold. Looks like the RtlFree happens during GC, while the set_threshold might happen allocating memory for an exception object (failed socket connection).
I've seen some similar errors in earlier versions of the JDK, but none on 1.4. This is killing us! We're trying to go to production at a major facility.
I've thought about trying various experiments: run in hotspot server mode, run with heap settings boosted, upgrade version of Windows (client will balk).
Any ideas? This is a huge issue right now. Thanks for any help,
Bob MacWilliams
[email protected]

I don't think anyone can solve this from a distance. The scenario is too complex.
As a general advice, IMHO you should not rule out the DLL you are using via JNI as cause of the error. Maybe you can replace it by some non native Java lib or there is a newer version of it available?
Good luck!
robert

Similar Messages

  • Heap Error during Windows OCIEnvCreate() call

    During a call to:
    OCIEnvCreate(&m_handles.m_pOCIEnv,
                             OCI_THREADED | OCI_OBJECT,
                             NULL,
                             NULL, NULL, NULL,
                             0, (dvoid **)0);
    A crash occurs which reports the following in the MSVC 2005 debug output window:
    HEAP[AutoTest.EnvironmentPkg.DatabaseConnectionManager.exe]: Invalid Address specified to RtlFreeHeap( 00150000, 0015ED80 )
    Windows has triggered a breakpoint in AutoTest.EnvironmentPkg.DatabaseConnectionManager.exe.
    This may be due to a corruption of the heap, and indicates a bug in AutoTest.EnvironmentPkg.DatabaseConnectionManager.exe or any of the DLLs it has loaded.
    We are using version 10.2.0.3 of the Oracle Basic Lite client on Windows XP, called via SQLAPI++.
    I have verified that the memory we allocate is not being corrupted before this call. Using Compuware's Boundschecker VS add-in, I've verified that the heap error is in a memory range allocated by oraociicus10.dll. Since the OCIEnvCreate call is the first time that oraociicus10.dll allocates memory (i.e. my code doesn't have a chance to trample Oracle's data structures), there's a good chance IMO that it's an internal Oracle problem.
    Boundschecker reports errors such as:
    Pointer Error: When calling LocalFree, pointer 0x03A60A5C is not at the beginning of the block 0x03A60998 (65536) allocated by LocalAlloc.
    These errors are reported in a Debug build; the same kind of error happens during a Release build.
    According to a previous thread, a special release of the OCCI interface DLLs was needed to fix MSVC 2005 compatibility issues like this one. (See Debug in Visual Studio 2005 (vs8) ? )
    I've posted looking for any such release for OCI DLLs, but haven't found any yet ( MSVC 2005 compatible OCI DLLs? )
    My questions:
    1. Could this be a compatibility problem between the OCI DLLs and MSVC 2005? and
    2. If not, what could the problem be?
    Thanks in advance for your help.

    Are you using the oracle thin client ...?? Try using the full client install.
    Is it working with OCI_DEFAULT or OCI_THREADED alone ???
    Please note the following points in WINDOWS Platform.;
    1)Try always a fresh installation for Oracle and VS products.Preferably a clean install of the OS.
    2)If don't want to remove OS , do a clean UNINSTALL (This should include a complete clean up in the Registry and file systems).
    3)Always reboot the system before and after installations and try your code.
    If the above sequences are followed most of the DLL/LIB problem are solved for me.

  • Pages failing with Java Heap errors

    We are running CF 8,0,0,176276 on a Windows 32 bit 2003
    server, with IIS 6 and Java Runtime version 6 ( it's really version
    1.06).
    We started getting the java heap error messages two weeks
    ago. Now we are also getting the 'GC overhead limit exceeded'
    error, which is concerned with the Java garbage collection. I tried
    to change the JVM heap size from 1GB to 2GB, but CF wouldn't start
    up. I've since found out that Windows 32bit servers can't use 2GB
    for Java.
    One java article I found said to turn off the Java garbage
    collection using -XX:-UseGCOverheadLimit (
    http://forums.java.net/jive/message.jspa?messageID=228596).
    It seems like turning off the garbage collection would be the
    opposite of what I am trying to do. Are there any thoughts about
    this?
    Are there any hotfixes for CF8? and where are they located?
    Scott

    Scott, the error is a symptom, not the cause of your
    problems. Turning off that option won't "solve" the problem, which
    is that you're running out of memory. More on that option in a
    moment.
    Let's talk first about your observation of trying to change
    the max memory from 1 to 2 gig. Since you're on Windows (32 bit),
    as you say, you can't use more than 2g per process (it's not really
    a Java limit, but rather a Windows one).
    But as you found, you can't set CF to 2g because the JVM
    won't start. Again, this is not a CF-specific issue. You can see
    discussions of the same problem with plain old Java apps, as at
    http://forums.java.net/jive/message.jspa?messageID=228596.
    So, similar to what they say, the consensus seems to be that
    you can set it to somewhere between1.3 and 1.7 gb, before the JVM
    won't start. You have to try different values for yourself.
    Now, that extra few hundred meg may be all you need to get
    past your problem, but really that's often just forestalling the
    inevitable. You need to find why CF is using so much memory. You
    say you're using CF8 but don't say if it's Enterprise or Standard.
    If the former, then you have the CF8 Server Monitor (accessible in
    the CF Admin, and discussed in a multipart series I wrote for the
    Adobe Dev Center, as discussed at
    http://carehart.org/blog/client/index.cfm/2008/7/30/45page_server_monitor_guide).
    That, as well as tools like FusionReactor and SeeFusion, can help
    you to better see how CF is using memory.
    All three offer a graphical interface to show how memory use
    is trending. You may see if it grows steadily throughout the day,
    or grows in spikes. People tend to say "I have a memory leak", when
    in fact it may be just that they have either a few requests that
    use too much memory (so you'll see a stair stepping rise in memory
    use concurrent with their execution), or it may be that they're
    sticking stuff into shared scopes (session, application, or server)
    and those are living well beyond the live of each request.
    The CF8 Server Monitor even has a memory tracking feature,
    but it has to be used carefully. If you enable it, you may find it
    brings your server to its knees.I'll do a blog entry soon on how to
    use it most effectively (something I learned since writing the
    articles last year).
    One thing that the monitor can tell you, without any of the
    "start" buttons enabled at the top of the monitor, is how many
    sessions you have. That may be very enlightening. You may have
    thousands of them, and not realize it, because of bots, spiders,
    and other crap requests. See the "active sessions" page of the
    Server Monitor, and its graph icon in particular (discussed in more
    detail in one of my articles).
    Sadly, neither FusionReactor nor SeeFusion can tell you how
    many sessions are currently running, so if you're on CF8 Standard
    (or if others reading this are on 6 or 7, where they can use FR or
    SF), you can't easily see how many sessions there are. (There are
    undocumented, unsupported methods, such as discussed at
    http://rewindlife.com/2003/09/08/undocumented-application-scope-functions/.
    Just be aware some techniques work differently depending on whether
    J2EE sessions are enabled in th CF admin.)
    Finally, about your observation of the usegcoverheadlimit
    option, and the recommendation to turn it off: the article you
    point to doesn't say doing so would disable GC. I'm curious how you
    may have concluded that.But digging into things more, I see that
    disabling it (using the - before it) will turn off a feature
    (introduced in 6) which limits the proportion of the VM's time that
    is spent in GC before an OutOfMemory error is thrown. That's the
    error you're seeing, that the JVM has detected too much time is
    being spent in doing GC.
    So turning off the option doesn't "turn off the Java garbage
    collection". It just changes whether an OOM error will be thrown
    even before being really out of memory, simply because too much
    time is being spent in GC.
    And even then, how this option works (if enabled, which it is
    by default) changes depending on whether you're using a parrallel
    or concurrent collector (as discussed in two places in
    http://java.sun.com/javase/technologies/hotspot/gc/gc_tuning_6.html,
    if you search for that switch).
    Hope some of that helps.

  • Help!WindowsXP+VS8+oracle VC8 LIB,but heap error!

    Hello!
    I use the windowsXP and VS2005 to debug the occi program,the lib contain oraocci10.lib msvcprt.lib,the oraocci10.lib is the vc8 version,when I debug the program,env->createConnection("scott","tiger");the heap error.
    who can tell me how to set the configuration?

    I choose the oraocci10d.dll,msvcr80d.dll and msvcp80d.dll not found,how to solve the problem?in the directionary C:\windows\system32,i can find the vc6.0's dll,but
    msvcr80d.dll and msvcp80d.dll not found,I have used the VS2005,why the two dll don't be found?

  • TS1368 I'm a PC user with an itunes account for several years. I updated my itunes and now it wont open and shows me 'missing file MSVCR80.dll,and error 7(Window error 126)' keep coming up even after re-installing itunes . What should i do?

    I'm a PC user with an itunes account for several years. I updated my itunes and now it wont open and shows me 'missing file MSVCR80.dll,and error 7(Window error 126)' keep coming up even after re-installing itunes . What should i do?

    Click here and follow the instructions.
    (98897)

  • Itunes wont open - Error 7 (windows error 127)

    When downloading the lastest version of itune my computer crashed and now itunes will not open. It says itunes was not installed correctly. Please reinstall. Error 7 (windows error 127). Reinstalling intunes has not fixed the problem. Please help!

    Follow these instructions to completely remove Apple software
    http://support.apple.com/kb/HT1923
    Then use free Ccleaner to repeatly repair your registry until it's fixed.
    http://www.piriform.com/ccleaner/download/standard
    download iTunes again from Apple.
    Your content will remain.

  • Java Heap error for BI Publisher

    Hi all,
    We get 'Java Heap Error' while running a report in BI Publisher. Any suggestions on how we can resolve the issue?
    Thanks for your help!
    Nan

    user12088414 wrote:
    Hi all,
    We get 'Java Heap Error' while running a report in BI Publisher. Any suggestions on how we can resolve the issue?
    Is BI Publisher a product? Does the title of this forum include Do Not Post Product-Related Questions Here?
    Please look at the forum list and find [url https://forums.oracle.com/forums/forum.jspa?forumID=245]BI Publisher.

  • When I plug in my Ipod touch to my computer a warning appears "The program cant start because MSVCR80.dll is missing."  I can not access my Itunes library.  Also, an "error 7 Windows error 126" appears as well.  Any ideas?

    When I plug in my Ipod Touch to my computer I can not access my Itunes library.  The following message appears "The program cant start because MSVCR80.dll is missing."  Also, another message appears as well - "Error 7  Windows error 126" as well as APSDaemon.exe.
    I have NO IDEA what the heck to do.
    Any ideas?
    Thanks!

    Issues installing iTunes or QuickTime for Windows
    solving MSVCR80
    iTunes 11.1.4 for Windows: Unable to install or open
    Troubleshooting issues with iTunes for Windows updates

  • ITunes no longer works on my Windows VISTA system.  Get error msg saying C runtime library incorrectly... Error 7, Windows error 1114..

    iTunes no longer works on my Windows VISTA system.  Get error msg saying an application is attempting to access C runtime library incorrectly... Error 7, Windows error 1114.  Same msg, or one that says unable to install, when trying to update or reinstall iTunes.  iTunes worked well up until about a month ago when this error msg starting appearing.

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • Cant open itunes. get error message 7 followed by error message windows error 127.     i have redownloaded new updates with luck.   window xp

    cant open itunes. get error message 7 followed by error message windows error 127.     i have redownloaded new updates with luck.   window xp

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it, which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • HT1222 I installed the most recent ITunes update after which Itunes no longer worked.. I received an error message   Error 7  Windows 193.  I did a system restore to eliminate the update.

      Apple support had not responded to my requests for clarification.  The update corrupted both ITunes and Office Outlook mobileme.  The error message when I tried to start up I Tunes was Error 7 Windows 193.  I un installed I Tunes and re installed the latest ver and encountered the same error message.  I finally did a system restore.  Was this a one time problem or is the update bad.  In over 30 years I'd never had a problem with any Apple update.

    Hi Lutacrew,
    If you are having issues with iTunes after an attempted update, you may find the following article helpful:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Regards,
    - Brenden

  • ITunes Windows Vista - Error 7 - Windows error 998, DEP

    Trying to install iTunes on windows vista laptop, iTunes installs but when i try to open it i recieve:
    Error 7
    Windows error 998
    Data Execution Prevention
    Have tried all solution given on apple solution website. Desperate for some help if any has some.
    Thanks

    (Apologies for barging in, wha.)
    In this context (launching itunes), DEP errors can indicate that some other program (other than QuickTime itself) has sprayed old versions of QuickTime componentry into unorthodox locations on the PC.
    Although the error 7 is most commonly associated with Apple Application Support or .NET framework problems, it can also be associated with QuickTime trouble ... so that's consistent with the old, misplaced QuickTime componentry troubles as well.
    So I think we'd better check on that possibility.
    You'll need to check some view settings on the PC first.
    1. From the Start menu, click Open.
    2. In the Organize menu, click Folder and Search Options.
    3. Click the View tab.
    4. In the "Advanced settings" pane under "Hidden files and folders" make sure that the "Show hidden files and folders" option is selected, and the "Hide extensions for known file types" option is unchecked.
    5. Click OK.
    Now go "Start > Computer".
    In Computer, open "Local Disk C:" or whichever drive your operating system is installed on.
    Open the "Windows" folder.
    *If you have a 32-bit Vista,* open the "System32" folder.
    *If you have a 64-bit Vista,* open the "SysWOW64" folder.
    What files or folders can you see in there with QuickTime in the file or folder name? (In a standard installation of QuickTime, you should see precisely two files ... QuickTime.qts and QuickTimeVR.qtx ... and no QuickTime folders whatsoever.)

  • MacBook Air running Bootcamp getting ACPI errors in Windows

    We have a number of MacBook Air 13" mid-2014 A1466 models running Bootcamp with Windows 7 64 bit Enterprise.
    (We image them with Windows & Bootcamp, no Mac OS X partition)
    We are using latest Bootcamp 5.1.5640 drivers
    They work fine for most applications.
    We are regularly getting ACPI errors
    The error in Windows System log is
    Source: ACPI
    Description: The embedded controller (EC) did not respond within the specified timeoutperiod. This may indicate there is an error in the EC hardware or firmware that the BIOS is accessing the EC incorrectly. You should check with your computer manufacturer for an upgraded BIOS. In some situations, this error may cause the computer to function incorrectly.
    The error we are seeing is when a user is logged into a Windows domain it should pass the Windows password to other applications like Outlook, Lync, etc. Instead, on these Macs, they regularly prompt for the Windows password to re-connect to the source. We don't get this issue with normal Windows PCs.
    Also booting has a slight delay of around 10 seconds before Windows begins loading. Don't this delay with older MacBook Airs.
    Have looked at repairing Bootcamp drivers. EFI & SMC looks up to date, had to use Mac boot USB to check this info.

    VikingBrad wrote:
    Just re-reading my post and I was unclear. Yes we do use EFI and boot directly into Windows.
    This is good to know.
    The Windows partition is joined to an AD domain and logs in fine with AD credentials.
    The only problem being that when we open Outlook or Lync or other apps that require AD authentication the user is prompted for their AD credentials.
    We have cleared Credential Manager in Windows, tried different users with no success. It works with older MacBooks and Windows PC. Seems to just be these latest MacBook Air 2014 models with the issue. After user re-enters AD credentials they can connect to Outlook, etc.
    This may be a bit off-topic, but Macs do not "officially" support Enterprise versions of Windows. Can I suggest using a test 2014 MBA, installing W7/W8 64-bit, and configuring for AD authentication and testing. Are there any known DNS issues on this Macs? In all the applications which do not function correctly, does the username show up correctly populated, when prompted for login?
    The only error we see in Event log is the ACPI error so suspect it is related. But we have latest Bootcamp drivers from Apple perhaps we are off track.
    If the user successfully enters credentials when prompted for say, Outlook, and the computer is made to sleep or hibernate, is the connection to Outlook/Lync still up if the timeout for sessions (if any) has not yet expired and the computer is woken up?
    It may also be worthwhile to look for requests being made for authentication before the applications prompt the user for credentials.

  • IM GETTING A MESSAGE ITUNES WAS NOT INSTALLED CORRECTLY. PLEASE REINSTALL. ERROR 7 (WINDOWS ERROR 1114) I TRYED TO REINSTALL IN APPLE SUPPORT BUT I GET TANOTHER MESSAGE. SERVICE APPLE MOBILE DEVICE FAILED TO START. VERIFY THATSUFFICIENT PRIVILEDGES TO STA

    I'm getting a n error message when I try to open Itunes. Itunes was not install correctly. Please reinstall itunes. Error 7 (Windows error 1114) This happened after I unsuccesfully tried to install an update. I have had itunes on this computer for three years. When I try to reinstall the latest version I get another message.Service Apple Mobile Device (Apple mobile Device) failed to start. verify that you have sufficient privileges to start system services. Abort, Retry, Ignore Does anyone know how to solve this problem?

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • Service 'Apple Mobile Device' (Apple Mobile Device) failed to start.  Verify that you have sufficient privileges to start system services. and 'iTunes was not installed correctly. Please reinstall iTunes. Error 7 (Windows error 193)

    Hi!
    So i think i closed the wrong service at some point a few weeks back (apple mobile device) but iTunes remained working after that for another week. I then updated iTunes and i get the same  "Service ‘Apple Mobile Device’ (Apple Mobile Device) failed to start.  Verify that you have sufficient privileges to start system services." every time. If i click ignore, just so i can access iTunes with out syncing my iPod (touch 2nd gen) i then get 'iTunes was not installed correctly. Please re-install iTunes. Error 7 (Windows error 193)" when it has all installed. I don't understand what the problem is anymore as I have looked at other questions on the apple website, carried out the advice and it hasn't work. Any of them.
    Tings I have done:
    - Wiped all iTunes and Apple data from my computer (if you search for 'iTunes' or 'Apple' nothing comes up apart from applets from system code.
    - Attached iPod before iTunes install and updated drivers.
    - Installed iTunes as 'Run as administrator'
    - Uninstalled and re-installed the software nearly 20 times now and rebooted the computer in between everytime.
    Please someone help because i really need to get music on my ipod and i enjoy the ease of use of iTunes compared to spotify or Windows Media Player.

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for performance issues or compatibility with QuickTime or third party software.
    Your library should be unaffected by these steps but there are also links to backup and recovery advice should it be needed.
    Regarding AMDS failures there is a hint in another thread that disabling the Windows Firewall before attempting to reinstall may help, otherwise take a look at the steps outlined in this post. Re: Can't install iTunes 12.1 on Windows 7 64-bit. I know they look a little daunting, but the process of generating the logs themselves isn't that hard to do. Extracting useful information from them is still a challenge but maybe something will leap out. If you want to post the log for the failed components for me to have a look at here or in the other thread please edit out any personal information, particularly your email address, first.
    tt2

Maybe you are looking for

  • Folder w/exclamation and little lock

    My daughter got an iPod 4th generation/color 20GB from my nephew. It worked for few months and started the problem with the folder and exclamation mark. I connected it in the computer (USB 2.0 and FireWire) and shows as a "Removable disk (E:)" In the

  • Best methods for large To: list using cfmail

    I'm getting time-out errors on one of my sites. People can post to a message "corkboard" and site members can subscribe. One of the topics has close to 600 subscribers. The SMTP mail server is IIS's built-in thing, on the same machine as the web serv

  • What happened to my registration?

    i installed the latest Photoshop Extended CS6 and completed registration, this all worked well for a few days now my product registration has disappeared from my account. I have tried going through the help sysyem and get to the 'register my product'

  • How to find no. of hits on the documents in KM

    hello eperts, i need to find i a way to get the number of hits on particular documents which have been uploaded in km.

  • Adjust parameters from single instance to RAC

    Hi I am carrying out a migration from single instance to RAC. I know there are a list of parameters that We have to adjust to keep the same or better performance moving from single instance to RAC. Can you post any link or something like that, that h