Max mutexes problem where it shouldn't happen

Hi -
I am getting this error:
java.lang.OutOfMemoryError: Cannot allocate memory: unable to allocate memory for mutex; resize mutex region
     at com.sleepycat.db.internal.db_javaJNI.DbEnv_open(Native Method)
bdb java 5.1.19 using DPL on Ubuntu. Here is the code for setting up the environment:
env.setAllowCreate(true);
env.setInitializeCache(true);
env.setInitializeLocking(true);
env.setInitializeLogging(true);
env.setTransactional(true);
env.setMaxMutexes(10000);
I have one object in the database. If it is really the case that this is a problem with not enough mutexes, how many should I set?
Garey Mills

I just wanted to say that I wouldn't have posted this if I thought that increasing the number of mutexes would help. I have read the other posts on the matter and I don't think that this is the same problem. Because:
- bdb in this case is part of a web app running in Jetty. This error happens on startup.
- I only have three entity types, none is larger than a kilobyte, if that, and there is only one entity in the database at the moment
I will gladly supply more details if that helps anyone to diagnose what's going on.
Garey Mills

Similar Messages

  • I am having a problem where pdf files on the web (i.e., links in a Word doc) open after an extended time and only as gobbldygook ( a file containing a series of characters and letters that make no sense).  This also happens for another Mac user coworker

    Hi There:  I am having a problem where pdf files on the web (i.e., links in a Word doc) open after an extended time and only as gobbldygook ( a file containing a series of characters and letters that make no sense).  This also happens for another Mac user coworker in my office, while the PCs don't have this problem...  Any help/suggestions for a fix would be most appreciated! 

    Just adding more info - MacBookPro running 10.5.8 and using Safari as the browser.  The problem comes and goes - sometimes the linked Word files will open OK, n others its just a strring of crazy characters... 

  • IMovie audio issues. Fine in timeline, but when rendering to iTunes or Media Browser, audio from certain portions of movie files are heard in places where it shouldn't be !

    iMovie 11  audio issues. Fine in timeline, but when rendering to iTunes or Media Browser, audio from certain portions of movie files are heard in places where it shouldn't be !
    I have created a project where I have a montage of photos and video clips edited together with music under. Some audio portions of the video files are being muted in some areas and those portions are being heard in another part of the project. This is not for all video clips only certain ones.
    The project plays fine in the timeline, but when I render the project thru iTunes or Media Browser, this is when the project goes corrupt.
    I tried detaching the Audio from the video clips and this somewhat worked, but the original problem still exists with certain audio still being heard where it's not supposed to be.

    I have a fix - or rather, a workaround.
    WARNING: It is lengthy, but still far better than starting a new project from scratch.
    I had this same issue and none of my transitions/clips were at custom speeds, nor did I have anything else weird going on. Unfortunately there is nothing you can do within iMovie to fix this, at least there wasn't for me. iMovie is BY FAR the buggiest software I have ever used and if you haven't already spent hours slaving away on a project, you are so much better off using just about anything else to edit your video.
    ...But let's assume you have already spent many hours working on your project and you don't want to start all over. Well then, you have at least one option.
    It's a pain in the neck, but it's infinitely better than restarting your project from scratch.
    This will require:
    A software called Soundflower (which is free) and some kind of audio editing software (I use Logic, but really any should work).
    1.) You're going to need to export your video with the messed up audio. Typically if you're audio is messing up, you're video is at least usually working just fine (at least it always does for me).
    2.) You're going to need to open that video in your audio software and import only the audio. If your software doesn't give you this option, then you're going to need to record the audio from your video using the audio software and Soundflower. You can find tutorials on how to do this, but it's honestly pretty straightforward once you start playing around with you Mac's audio I/O settings. Remember to have your computer's volume all the way up when doing this.
    3.) Watch/listen to your video and make notes of where the audio errors occur. I HIGHLY RECOMMEND writing down times too,  as they will be extremely helpful later.
    4.) Now were going to rip some working audio from the iMovie project itself. Go back into your iMovie project and only play back audio while in the edit window for this step. Do NOT play your project back in full screen.
    This part is key: if you try to play back your project from the beginning the audio will usually still mess up. So, what you're gonna have to do is go back on your edit window timeline right before these errors occur and play that specific clip back while recording this working audio with Soundflower and your audio software. Essentially we're only recording the parts of the audio where these errors occur, so try to do this in order if you can. Try to leave several seconds of audio in before the error - that way we can use it as reference when we construct our new audio track.
    5.) Now in your audio software you should have your original error-filled audio track and the new clips that we just captured. This part can be painstaking if you're not familiar with audio editing softwares, but as you'll learn, it's really not that hard.
    You're going to look at your original audio track and compare it to your new working audio clips. You should be able to notice where those new clips are supposed to go by looking at the identical (or close to identical) waveform shapes in your original audio track. The two should correspond with one another. If you don't understand what I mean right now, you will when you start playing around with the audio. This is why marking times is very important.
    Take your new clips and split them up if you haven't already, that way you can drag them around and edit them separately from one another. Essentially your going to line these new clips up with original and then replace the original parts with new ones.
    We need to get this as precise as possible, so start off by getting them as close as you can with your naked eye, and then use a zoom tool to zoom in as much as possible so that you can get them lined up PERFECTLY, or at least extremely close. In some softwares you can just drag these new clips on top of the old track, but most of the time you will need to actually cut out the old piece and replace it with the new one. In doing this, zoom in and make sure that you are NOT cutting out a bigger space than your new clip will fill - otherwise you will have small gaps in your audio.
    VERY IMPORTANT: Also make sure that this new audio track starts at the EXACT SAME time as your original - otherwise your new audio will be out of sync.
    I know this part can really suck if you're not used to audio editing, but at this point, there is little other choice.
    6.) Once you are done with this, export your newly pieced together audio track.
    7.) Now open iMovie and create a NEW project. Re-import the video that you exported earlier that has the messed up audio. This might take a while, so just be patient.
    8.) Then right click the clip and select "Detach Audio". This will do just that - allowing you to edit the audio separately from the video. Now delete this audio.
    9.) Now, import the new, perfect audio track that we just made and make sure that it starts at the start of the project. Make sure it's in sync and that everything works.
    Now just export your new video with the working audio and you should be done. Since we have given iMovie the audio with no editing actually being done in iMovie, it does not have to generate its own audio now and you should have absolutely no errors now - unless there is some that you forgot to take out earlier.
    YOU'RE FINALLY DONE!!!
    I know this entire process *****, but if you're that far into your project, there is little else that you can do. Now you've learned your lesson:
    DON'T USE IMOVIE EVER AGAIN.
    I hope this helped!

  • Have a problem where I'll occasionally shift my computer (i.e. physically move it, say from the coffee table to my lap on the couch) and it will freeze and the screen will turn into a bunch of horizontal multicolored lines (closer to 100 lines than 5). Us

    Have a problem where I'll occasionally shift my computer (i.e. physically move it, say from the coffee table to my lap on the couch) and it will freeze and the screen will turn into a bunch of horizontal multicolored lines (closer to 100 lines than 5). Usually restarting (by holding the power button to turn it off) works. A few times that has resulted in the three beeps (RAM issue? -- I've since replaced my RAM [it *seemed* to stop it for a while, but maybe not]), but the second time it always works. Attempting to SSH into the computer during this state does not work. Please advise as to what to do/what reports I can run and post. I will take a pic next time it happens.
    Here's this info:
      Model Name:          MacBook Pro
      Model Identifier:          MacBookPro7,1
      Processor Name:          Intel Core 2 Duo
      Processor Speed:          2.4 GHz
      Number Of Processors:          1
      Total Number Of Cores:          2
      L2 Cache:          3 MB
      Memory:          8 GB
      Bus Speed:          1.07 GHz
      Boot ROM Version:          MBP71.0039.B0B
      OS 10.6.8

    Sounds like a problem with your GPU. Do you have an external display you could connect your machine to in order to test this? If the external display renders the same way, then your GPU is damaged. If the external renders fine, then the CPU display is damaged.

  • Will there be a fix for Firefox's problems with Hotmail. I have gone back to 3.5.9 but mostly I am disappointed by the lack of action on this serious problem where a major and critical feature of a major international website is unavailable in the Firefox

    Will there be a fix for Firefox's problems with Hotmail. I have gone back to 3.5.9 but mostly I am disappointed by the lack of action on this serious problem where a major and critical feature of a major international website is unavailable in the Firefox browser.
    == URL of affected sites ==
    http://www.hotmail.com

    We've reached out to the Hotmail team and they've determined that this is a bug in their code. (It was masked by a timing issue in 3.5 that was fixed in 3.6.) We've worked with them to develop a fix but they may not have deployed it yet.

  • I cannot send an email from my iPad 2? No problem receiving, why does this happen? Have tried the suggestions for setting up email and after doing the sync mail through iTunes receiving worked great but still cannot send? Any help would be great

    I cannot send an email from my iPad 2? No problem receiving, why does this happen? Have tried the suggestions for setting up email and after doing the sync mail through iTunes receiving worked great but still cannot send? Any help would be great!

    The fact that you can receive means you have a valid e mail address, and have established the connection to the incoming server, so all of that works.  Since the send does not work, that means your outgoing server is rejecting whatever settings you used formthe outgoing set up.  Try them again. 
    Google your particular isp, and ipad and many times you will find the exact settings needed for your isp.  Or tell us here, and soneone else may be on the same isp.  Some mail services need you to change a port, or have a unique name for the outgoing server.  
    Kep trying.

  • When I click on a picture or a link, to take a closer look, I get a blank screen and it says at the top search bookmarks and history, at the bottom it says 'stopped' - what is this problem and why is it happening

    when I click on a link to complete a form, or a link to take a closer look at a picture, I get a blank screen and it says at the top 'search bookmarks and history', at the bottom it says 'stopped' - what is this problem and why is it happening ?

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • Screen refresh problem where data is entered and the screen doesn't refresh

    Many people in the company are experiencing the odd screen refresh problem where data is entered and the screen doesn't refresh to show the updated result in corresponding cell formulas.
    Microsoft have issued a hotfix to fix the issue for Excel 2003 as shown. Microsoft released a hotfix for this problem (<a href="advisory?ID=978908">KB978908</a>). Display memory tends to pick up data from hidden sheets and pastes it
    into the active screen. No impact on the file. This occurs when protecting and unprotecting worksheets in VBA. I also suspect that enabling and disabling screen refresh contributes to this problem. In any case there is a fix, albeit with the following disclaimer:
    As of yet I have not been able to find a fix for this for office 2010 and 2013, Any suggestions would be great.

    Hi,
    Based on your description, Excel does not show the text strings when you typing. It may be caused by the cell format, if we set the cell format as ";;;" in custom format, it will not display the text that you typed. 
    And the issue may be caused by the third-party input method, there are some compatibility issue between them.
    If the issue still exits, please try the following methods
    Verify/install the latest updates
    Repair your Office program
    Regards,
    George Zhao
    TechNet Community Support

  • I'm having a problem where Firefox keeps asking for my Amazon password, even though I tell Firefox NOT to remember this password. In Firefox options, Amazon is clearly listed as a site for which not to save passwords.

    I'm having a problem where Firefox keeps asking for my Amazon password, even though I tell Firefox NOT to remember this password. In Firefox options, Amazon is clearly listed as a site for which not to save passwords.

    Do not use [[Clear Recent History]] to clear the "Site Preferences"
    Clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, and passwords.

  • HP 8750 Paper-Size Problem where it keeps telling me the paper is too big (it's set up for 11x17)

    I've got an HP 8750 printer running with a Windows 7 Ultimate machine, and I've got a paper-size problem where it keeps telling me the paper is too big. It's set up for 11 x 17. 
    The actual wording on the printer is: 
    Paper installed is larger than needed. Press cancel to replace with correct size, if you wish to save paper, or press check mark to continue. 
    When you press the check mark it feeds the paper, but for a multi page-document I have to press the check mark for each page to feed.
    How do I get it to print 11 x 17 paper without having to press the check mark for each page?

    ''guigs2 [[#answer-672422|said]]''
    <blockquote>
    NoScript stops cookies, please disable this addon/extension as well as make sure that the language en-us is installed.
    # 1) Open up the Firefox Preferences tab. You can do this by typing about:preferences in the URL bar.
    # 2) Click "Content"
    # 3) Next to "Languages", click "Choose"
    # 4) Select "English/United States [en-us]", click "Add"
    # 5) re-open "about:accounts"
    # 6) Click "Get Started"
    </blockquote>
    Thank you for replying. Unfortunately, I already did all of these things. As you can see from the below screenshot, the language is already set. Also, this screenshot was taken in Safe Mode, so NoScript is not enabled. About:accounts still says I need to enable cookies for some reason. So, this solution didn't work....

  • Has anyone else ever had a problem where you had to perform 2 datasocket writes before the datasocket read would pick up the change?

    I have a local VI that is simply a control that writes to the datasocket server whenever the control value changes.(the dataitem on the server is permanent - its initialized and never released by the server)
    In the same local VI I have a datasocket read polling a different dataitem on the server.
    The remote machine has a VI that reads the permanent dataitem on the server once per second.
    For some reason, after adding the local VI mentioned above, the remote VI stopped picking up the first change in the permanent variable.
    I'd start both the local and remote VIs...
    Then change the local control and the remote V
    I would not update - as if the datasocket write(upon adjusting the control) did not take place. So I'd change the control value again - this time the remote VI would update to this new value. And from here on out - the remote VI would update correctly. This problem only occurs when the local VI is first started up.
    What in the heck is going on?

    dingler44 wrote:
    >
    > Has anyone else ever had a problem where you had to perform 2
    > datasocket writes before the datasocket read would pick up the change?
    >
    > I have a local VI that is simply a control that writes to the
    > datasocket server whenever the control value changes.(the dataitem on
    > the server is permanent - its initialized and never released by the
    > server)
    > In the same local VI I have a datasocket read polling a different
    > dataitem on the server.
    > The remote machine has a VI that reads the permanent dataitem on the
    > server once per second.
    > For some reason, after adding the local VI mentioned above, the
    > remote VI stopped picking up the first change in the permanent
    > variable.
    > I'd start both the local and remote VIs...
    > Then change the local control and the remote VI would not update -
    > as if the datasocket write(upon adjusting the control) did not take
    > place. So I'd change the control value again - this time the remote
    > VI would update to this new value. And from here on out - the remote
    > VI would update correctly. This problem only occurs when the local VI
    > is first started up.
    >
    > What in the heck is going on?
    Gorka is right, this came up on Info-LV a few days ago. Someone
    described a similar problem. I replied that I had seen similar
    behaviour, reported it to NI, and they verified a bug. There is no fix
    yet, but they are aware of it and will fix it. No anticipated release
    date for the fix.
    Regards,
    Dave Thomson
    David Thomson 303-499-1973 (voice and fax)
    Original Code Consulting [email protected]
    www.originalcode.com
    National Instruments Alliance Program Member
    Research Scientist 303-497-3470 (voice)
    NOAA Aeronomy Laboratory 303-497-5373 (fax)
    Boulder, Colorado [email protected]

  • Hi, I recently got myself an apple iphone 5s (factory unlocked) phone from the US. However on using the same in India with Vodafone, i am facing a problem where the connectivity keeps switching to EDGE most of the time. Any solutions??

    Hi,
    I recently got myself an apple iphone 5s (factory unlocked) phone from the US. However on using the same in India with Vodafone, i am facing a problem where the connectivity keeps switching to EDGE most of the time. I have a 3G plan but most of the time it switches automatically to EDGE. Thats when i have to either switch Airplane mode - On/Off and then it acts normal. Any permanant solutions to fix this problem?

    Return the iPhone personally or via friend/relative/co-worker who is in
    the US. The warranty is valid only in the country of original purchase - the USA
    in this case. Apple will not accept international shipments for evaluation nor
    will Apple ship out of the country after repair/replacement.
    How did the iPhone from the US get to you in India? Reverse that process to
    get it back to the US so someone can take it into Apple.

  • Has anyone had a problem where your keyboard is typing  symbols not letters?, Has anyone had a problem where your keyboard is typing  symbols not letters?

    Has anyone had a problem where your keyboard is typing  symbols not letters?, Has anyone had a problem where your keyboard is typing  symbols not letters?

    Are you plugging it into the Wall charger or Via Computer if by computer use the Wall wort charger and a Power Cycle should help as well if not let me know..

  • I purchased a Logic Pro 9.1.6. from App Store and when I try to open it, it's asking for a serial number. That shouldn't happen, they told me on Applecare Professional Application Support. Once I had a "trial version" of Logic Pro 9.0.0. Does this matter?

    I purchased a Logic Pro 9.1.6. from App Store and when I try to open it, it's asking for a serial number. That shouldn't happen, they told me on Applecare Professional Application Support. Once I had a "trial version" of Logic Pro 9.0.0. Does this matter?

    ufo62 wrote:
    Yep, there's versions and "versions". But I'm a poor, stupid guy and now I had my first chance to get The REAL Logic Pro. So please, if somebody could help me with that I would be grateful.
    You would need to delete all of the Logic Audio related preference files, reciepts...etc, located in these folders.
    ~/Library/Preferences
    Users/YourName/Library/Preferences
    ~/Library/Receipts
    And possibly
    ~/Library/Applicationsupport/ProApps
    I guess it's possibly safe to assume that all of the people posting on this board asking why the App Store version is requesting a serial have been using pirated software.

  • [svn:osmf:] 13557: Fixing problem where a lingering TraitAggregationHelper causes elements to be added multiple times on ParallelDisplayObjectTrait .

    Revision: 13557
    Revision: 13557
    Author:   [email protected]
    Date:     2010-01-17 10:05:12 -0800 (Sun, 17 Jan 2010)
    Log Message:
    Fixing problem where a lingering TraitAggregationHelper causes elements to be added multiple times on ParallelDisplayObjectTrait.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/osmf/composition/ParallelDisplayObjectTrait.as

    Revision: 13557
    Revision: 13557
    Author:   [email protected]
    Date:     2010-01-17 10:05:12 -0800 (Sun, 17 Jan 2010)
    Log Message:
    Fixing problem where a lingering TraitAggregationHelper causes elements to be added multiple times on ParallelDisplayObjectTrait.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/osmf/composition/ParallelDisplayObjectTrait.as

Maybe you are looking for