Qmaster Memory Leak? malloc: *** error: can't allocate region

Hi All,
We are submitting to Qmaster with an apple script. The problem seems to happen after about 4 hours of processing and we start getting these errors in the logs of the Cluster Controller:
compressord(8681,0x1aace00) malloc: * vm_allocate(size=3145728) failed (error code=3)
compressord(8681,0x1aace00) malloc: * error: can't allocate region
compressord(8681,0x1aace00) malloc: * set a breakpoint in szone_error to debug
So i took a look in Activity monitor and here's a screen grab of what i see:
http://img266.imageshack.us/img266/5769/picture2av8.png
16 Million TB resident in memory for qmasterd process?!!??
Anyone have any ideas? We have been dealing with this issue for months now and cant get anything processed reliably . We're using Compressor 3.0 and Qmaster 3.0 on OS 10.4.10
Could it be a hardware problem?? Should I try reinstalling with pacifist?
Any help is appreciated. Thanks in advance.

Which version of QT are you using?
Are you using the free QT player or PRO?
"however when I look videos in some news portals"
Can you provide sample links/URL for others to test?
Sorry, I do not know what those error messages mean. Until a more knowledgeable user comes along install the following (if you have not already done so):
Flip4Mac
VLC Media Player
Perian (AVI and FLV support)
Adobe Flash Player Software
Don't forget to repair permissions & restart your computer after the installations.

Similar Messages

  • Mmap : error: can't allocate region

    Hi everybody,
    I've encountered a problem in the save process of a document :
    Adobe InDesign CS6(14998,0xb0f0f000) malloc: *** mmap(size=16777216) failed (error code=12)
    *** error: can't allocate region
    *** set a breakpoint in malloc_error_break to debug
    Adobe InDesign CS6(14998,0xb0f0f000) malloc: *** mmap(size=16777216) failed (error code=12)
    *** error: can't allocate region
    *** set a breakpoint in malloc_error_break to debug
    Adobe InDesign CS6(14998,0xb0f0f000) malloc: *** mmap(size=16777216) failed (error code=12)
    *** error: can't allocate region
    *** set a breakpoint in malloc_error_break to debug
    (and so on...)
    Before saving my document, I created thousands and thousands (and even more) of frames, groups and various bosses.
    And while saving, InDesign crashed on this instruction :
    docFileHandler->Save(documentUIDRef, kSuppressUI);
    Do you think a really big amount of data to save in the database of the document could lead to such a crash with this symptom ?
    The solution I was thinking was slicing my transaction to several more little, and do regular saves of the document. Is it an idea that makes sense for you ?

    Thanks for the reply,
    More memory as in RAM?I have 16GB installed and on average:
    12GB free
    1.5 GB active
    1GB inactive
    As far as disk space I have 62% free on my system drive, 25% free on my raid. It's 10% fragmented.
    These crashes seem to be limited to working in 2K. SD is solid.
    Here's the .h:
    diskCache.cacheDebug = 0;
    diskCache.cacheSize = 1024;
    diskCache.cacheMemoryLimit = 1024;
    diskCache.cacheMemory = 1024;
    cache.cacheMemory = 256;
    cache.cacheMemoryLimit = 512;
    gui.doBoxColumns = 20;
    script.format = "Full";
    script.autoSaveDelay = 30;
    sys.useRenderQueue = "Qmaster";
    gui.trm=0;
    script.uncFileNames = 0;
    script.autoSaveNumSaves = 100;
    Thanks again. I'll try lowering some of the numbers.

  • Can't allocate region

    Hello, I'm new to java and trying to figure out what this error means:
    java(25570,0xb1037000) malloc: *** mmap(size=1073745920) failed (error code=12)
    *** error: can't allocate region
    *** set a breakpoint in malloc_error_break to debug
    This comes from a little game (breakout) that I'm making, the game seems to run fine (it consumes a lot of possessor and memory) but after a few minutes it crashes and I get the error.
    From what I've read it seems like the program can't allocate more memory? any clue?
    I'm using Eclipse on a macbook.

    Yeah the game is Breakout, so it most likely to be an error somewhere in the code, but can't find it.
    Here is the code, it has some libraries dependencies:
    * File: Breakout.java
    * Name: Vic
    import acm.graphics.*;
    import acm.program.*;
    import acm.util.*;
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Breakout extends GraphicsProgram {     
    /** Width and height of application window in pixels */
         public static final int APPLICATION_WIDTH = 1000;
         public static final int APPLICATION_HEIGHT = 620;
    /** Dimensions of game board (usually the same) */
         private static final int WIDTH = 400;
         private static final int HEIGHT = 600;
         private static final int FRAME_TOP = (APPLICATION_HEIGHT - HEIGHT) / 2;
         private static final int FRAME_BOTTOM = FRAME_TOP + HEIGHT;
         private static final int FRAME_LEFT = 10;     //(APPLICATION_WIDTH - WIDTH ) / 2;
         private static final int FRAME_RIGHT = FRAME_LEFT + WIDTH;
    /** Dimensions of the paddle */
         private static final int PADDLE_WIDTH = 80;
         private static final int HALF_PADDLE_WIDTH = PADDLE_WIDTH / 2;
         private static final int PADDLE_HEIGHT = PADDLE_WIDTH / 6;
    /** Offset of the paddle up from the bottom */
         private static final int PADDLE_Y_OFFSET = 40;
         private static final int PADDLE_Y = FRAME_TOP + HEIGHT - PADDLE_Y_OFFSET;
    /** Number of bricks */
         private static final int NBRICKS_PER_ROW = 10;
    /** Number of rows of bricks */
         private static final int NBRICK_ROWS = 10;
    /** Brick Colors */
         private static final Color[] BRICK_COLOR =
         {Color.red, Color.orange, Color.yellow, Color.green, Color.cyan};
    /** Separation between bricks */
         private static final int BRICK_SEP = 3;
    /** Brick constants */
         private static final int BRICK_WIDTH =
           (WIDTH - (NBRICKS_PER_ROW - 1) * BRICK_SEP) / NBRICKS_PER_ROW;
         private static final int BRICK_HEIGHT = 9;
    /** Ball constants */
         private static final int BALL_DIAMETER = 18; //multiples of 2
         private static final int BALL_RADIUS = BALL_DIAMETER / 2;
         private static final Color BALL_COLOR = Color.BLACK;
         private static final double MAX_BALL_DELAY = 6;
         private static double ballTop = 0;     
         private static double ballBottom = 0;
         private static double ballLeft = 0;
         private static double ballRight = 0;
    /** Offset of the top brick row from the top */
         private static final int BRICK_Y_OFFSET = FRAME_TOP + ((BRICK_HEIGHT + BRICK_SEP) * 6);
    /** Number of turns */
         private static final int NBALLS = 5;
         private static int ballsLeft = NBALLS;
    /** Instance variables */
         private static final double minVel = 1;     
         private static final double maxVel = 2.0;     
         private static double xVel = minVel;     // ball x velocity
         private static double yVel = minVel;     // ball y velocity
         private static double xVelBefore = xVel;
         private static double yVelBefore = yVel;
         private static int bricksLeft;
         private static int paddleContacts;
         private static double ballDelay;
         private static String currentCollider;
         private static boolean JustBoncedInPaddle;
    /** instance objects object */     
         private static GRect brick;
         private static GRect paddle;
         private static GOval ball;
         private static GObject collider;
         private static GLabel messageLabel;
    //////////////debug only
         private static GLabel mousePosition;
         private static GLabel objectLabel;
         private static GLabel ballsLabel;
         private static GLabel ballVelLabel;
         private static GLabel bricksLeftLabel;
         AudioClip audioClip = MediaTools.loadAudioClip("drip.au");
         private RandomGenerator rgen = RandomGenerator.getInstance();
    /* Method: run() */
    /** Runs the Breakout program. */
         public void run() {
              while(true){
                   Initialize();
                   play();
                   if (ballsLeft != 0) displayMessage("YOU WIN!");
                   else displayMessage("GAME OVER");
                   waitForClick();
         private void Initialize(){
              ballsLeft = NBALLS;
              paddleContacts = 0;
              ballDelay = MAX_BALL_DELAY;
              currentCollider = null;
              JustBoncedInPaddle = false;
              setSize(APPLICATION_WIDTH, APPLICATION_HEIGHT);     //resize window
              removeAll();
              addFrame();
              addBricks();
              addPaddle();
              addDebugLabels();     //debuging only
              //computeBallSections();
              addMouseListeners();
         private void play(){
              double colliderWidth;
              while (ballsLeft > 0 && bricksLeft > 0){
                   displayMessage("Click to Play");
                   waitForClick();
                   remove(messageLabel);
                   getBallAngleAndDir();
                   addBall();
                   --ballsLeft;
                   updateBallsLabel();     //debug only
                   while (bricksLeft > 0){
                        updateBallVelLabel(); //debug only
                        moveBall();
                        if (checkForWallCollision() == false){
                             break;     //ball hit bottom so put a new ball
                        //check for collition on 8 sections of ball
                        for (int i = 1; i <= 8; i++){
                             collider = getCollidingObject(i);
                             if (collider == null){
                                  currentCollider = null;
                                  updateColliderLabel();     //     debug only
                             else {
                                  colliderWidth = collider.getWidth();
                                  if (colliderWidth >= WIDTH){
                                       currentCollider = "wall";
                                       updateColliderLabel();     //     debug only
                                  else {
                                       // if collider is brick...
                                       if (colliderWidth < PADDLE_WIDTH /*&& colliderWidth > BALL_DIAMETER*/){
                                            currentCollider = "brick";
                                            remove(collider);
                                            --bricksLeft;
                                            updateBricksLeftLabel();
                                            bounceBall(i);
                                            audioClip.play();
                                            updateColliderLabel();     //     debug only
                                            //waitForClick();          //debug only
                                       //if collider is paddle...
                                       else if (JustBoncedInPaddle == false){
                                            currentCollider = "paddle";
                                            bounceBall(i);
                                            audioClip.play();
                                            ++paddleContacts;
                                            if (paddleContacts % 10 == 0) ballDelay = ballDelay*0.9; //increase speed 10%
                                            updateColliderLabel();     //debug only
                                            //waitForClick();          //debug only
                        updateColliderLabel();
                        objectLabel.setLabel("currentCollider = " +currentCollider); //debug only
                        xVelBefore = xVel;
                        yVelBefore = yVel;
                        //pauseGame();
                        pause(ballDelay);
              return;
         private void addFrame(){
              GRoundRect frame1 = new GRoundRect (FRAME_LEFT, FRAME_TOP, WIDTH, HEIGHT);
              add(frame1);
         private void addBricks(){
              int brickX = (FRAME_LEFT + (BRICK_SEP / 2)); //get Initial X position
              int brickY = (BRICK_Y_OFFSET); //get initial Y position
              int initialX = brickX;
              Color brickColor = BRICK_COLOR[0];
              bricksLeft = NBRICK_ROWS * NBRICKS_PER_ROW;
              for (int j = 1; j <= NBRICK_ROWS ; j++){          
                   //add row of bricks
                   for (int i = 0; i < NBRICKS_PER_ROW; i++){
                        brick = new GRect(brickX, brickY, BRICK_WIDTH, BRICK_HEIGHT);
                        brick.setColor(brickColor);
                        brick.setFilled(true);
                        add(brick);
                        brickX += BRICK_WIDTH + BRICK_SEP;
                   //change brick color every two rows
                   if (j % 2 == 0 && j < NBRICK_ROWS ){     
                        brickColor = BRICK_COLOR[j / 2];
                   brickY += BRICK_HEIGHT + BRICK_SEP;
                   brickX = initialX;
         private void addPaddle(){
              paddle = new GRoundRect( FRAME_LEFT + (WIDTH / 2) - (PADDLE_WIDTH / 2), PADDLE_Y, PADDLE_WIDTH, PADDLE_HEIGHT);
              paddle.setColor(Color.gray);
              paddle.setFilled(true);
              add(paddle);
         private void addBall(){
              ball = new
              GOval(FRAME_LEFT + (WIDTH / 2) - BALL_RADIUS, FRAME_TOP + (HEIGHT / 2) - BALL_RADIUS, BALL_DIAMETER, BALL_DIAMETER);
              //GOval(200, 30, BALL_DIAMETER, BALL_DIAMETER);
              ball.setColor(BALL_COLOR);
              ball.setFilled(true);
              add(ball);
         private void moveBall() {
              ball.move(xVel,yVel);
         private boolean checkForWallCollision(){
              //!!!!should check middle of ball instead of corner!!!!!
              ballTop = ball.getY() - 1;     
              ballBottom = ballTop + BALL_DIAMETER + 2;
              ballLeft = ball.getX() - 1;
              ballRight = ballLeft + BALL_DIAMETER + 2;
              if (ballBottom > FRAME_BOTTOM){
                   //bounceBall(1);
                   //audioClip.play();
                   remove(ball);
                   return false;
              else if (ballTop < FRAME_TOP){
                   bounceBall(1);
                   audioClip.play();
                   //ballDelayOn = false; //debug only
              if (ballLeft < FRAME_LEFT){
                   bounceBall(3);
                   audioClip.play();
              else if (ballRight > FRAME_RIGHT){
                   bounceBall(3);
                   audioClip.play();
              return true;
         private GObject getCollidingObject(int ballSection){
              switch(ballSection){
                   //ball North
                   case 1: return getElementAt(ballLeft + BALL_RADIUS + 4, ballTop);
                   //ball South
                   case 2: return getElementAt(ballLeft + BALL_RADIUS + 4, ballBottom);
                   //ball East
                   case 3: return getElementAt(ballRight, ballTop + BALL_RADIUS + 4);
                   //ball West
                   case 4:     return getElementAt(ballLeft, ballTop + BALL_RADIUS + 4);
                   //ball North-East
                   case 5:     return getElementAt(ballRight - (BALL_RADIUS / 3), ballTop + (BALL_RADIUS / 3));
                   //ball South-East
                   case 6:     return getElementAt(ballRight - (BALL_RADIUS / 3), ballBottom - (BALL_RADIUS / 3));
                   //ball North-West
                   case 7:     return getElementAt(ballLeft + (BALL_RADIUS / 3), ballTop + (BALL_RADIUS / 3));
                   //ball South-West
                   case 8:     return getElementAt(ballLeft + (BALL_RADIUS / 3), ballBottom - (BALL_RADIUS / 3));     
              return null;
         private void getBallAngleAndDir(){
              xVel = rgen.nextDouble(minVel, maxVel);
              if (rgen.nextBoolean(0.5)){
                   xVel = -xVel;
         //bounce ball on X, Y, or both direction
         private void bounceBall(int ballSection){
              if (ballSection == 1 || ballSection == 2){
                   if (yVel == yVelBefore) yVel = -yVel;
              else if (ballSection == 3 || ballSection == 4){
                   if (xVel == xVelBefore) xVel = -xVel;
              else {
                   if (yVel == yVelBefore) yVel = -yVel;
                   if (xVel == xVelBefore) xVel = -xVel;
              if (currentCollider == "paddle") JustBoncedInPaddle = true;
              else JustBoncedInPaddle = false;
         private void displayMessage(String message){
              messageLabel = new GLabel (message);
              //messageLabel.setFont(new Font("Verdana", Font.BOLD, 30));
              messageLabel.setFont(new Font("Verdana",Font.ITALIC , 38));
              messageLabel.setLocation (FRAME_LEFT + (WIDTH / 2) - (messageLabel.getWidth() / 2), FRAME_TOP + (HEIGHT / 2));
              add(messageLabel);
         public void mouseMoved(MouseEvent e) {
              int mouseX = e.getX();
              if ( (mouseX > (FRAME_LEFT + HALF_PADDLE_WIDTH)) && (mouseX < (FRAME_RIGHT - HALF_PADDLE_WIDTH)) && currentCollider != "paddle"){
                   paddle.setLocation(e.getX() - HALF_PADDLE_WIDTH, PADDLE_Y);
              //debug only
              mousePosition.setLabel(+e.getX()+ "," +e.getY());
    //////////////////from here all is for debuging only
         private void addDebugLabels(){
         mousePosition = new GLabel("Empty", WIDTH + 50, 20);
         add(mousePosition);
         objectLabel = new GLabel("Empty", WIDTH + 50, 40);
         add(objectLabel);
         ballsLabel = new GLabel("Remaining Balls: " +ballsLeft, WIDTH + 50, 60);
         add(ballsLabel);
         ballVelLabel = new GLabel("Ball Velocity: " +((xVel*yVel) / 2), WIDTH + 50, 80);
         add(ballVelLabel);
         bricksLeftLabel =  new GLabel("Bricks Left: " +bricksLeft, WIDTH + 50, 100);
         add(bricksLeftLabel);
         private void updateBallsLabel(){
              ballsLabel.setLabel("Remaining Balls: " +ballsLeft);
         private void updateBallVelLabel(){
              ballVelLabel.setLabel("Ball Velocity: " +((xVel*yVel) / 2)+ ", X Vel: " +xVel+ ", Y Vel: " +yVel);
         private void updateBricksLeftLabel(){
              bricksLeftLabel.setLabel("Bricks Left: " +bricksLeft);
         private void updateColliderLabel(){
              objectLabel.setLabel("currentCollider: "+currentCollider+ " ;JustBoncedInPaddle: " +JustBoncedInPaddle);
    }Edited by: avanrotciv on Nov 10, 2008 1:17 AM

  • Console: PS CS5 - can't allocate region

    System 10.6.3; 8 gigs RAM, 32-bit PSCS5, 100% of 2100Megs allocated
    No crashes but -thousands- of these console entries:
    5/9/10 2:28:04 PM [0x0-0x80080].com.adobe.Photoshop[2104] Adobe Photoshop CS5(2104,0xa00224e0) malloc: *** mmap(size=11284480) failed (error code=12)
    5/9/10 2:28:04 PM [0x0-0x80080].com.adobe.Photoshop[2104] *** error: can't allocate region
    5/9/10 2:28:04 PM [0x0-0x80080].com.adobe.Photoshop[2104] *** set a breakpoint in malloc_error_break to debug
    (shouldn't it just give up after a few tries?)
    and well over 100 of these:
    5/9/10 5:28:21 PM [0x0-0x80080].com.adobe.Photoshop[2104] Sun May  9 17:28:21 Macintosh-2.local Adobe Photoshop CS5[2104] <Error>: CGContextConcatCTM: invalid context 0x0
    hth someone debug CS5...
    Tracy

    (After trying to launch CS4, about 5 minutes after the last message...)
    And if anyone wants to know what drives guys like me, who have paid, and paid, and paid, and paid Adobe over the years. We're not thieves; not crooks; not kiddies "sharing" software... it's this:
    I just tried to use CS4. You know, the one I bought a licence for? The one that runs without complaining? The one that uses my 32-bit plugins? The one that I BASE MY BUSINESS AROUND... and guess what...
    The license isn't valid anymore, now that I've upgraded to CS5. CS4 won't launch.
    Congratulations, Adobe. You've managed to grab yet another user by the balls.
    I'm a nice, patient, 63-year old guy. I'm not stupid... but what I am, now, finally, after dealing with all the issues of CS5... is PISSED OFF.
    I can't even go back to CS4!
    So I'm effectively trapped. I paid yet another $200 to Adobe, and ended up with LESS than I had before spending that $$$
    Chris: you're a nice guy.
    Adobe: stop selling professional tools and treating your users like children.

  • Malloc errors

    Some time after updating to 1.5.1 Aperture has developed the dreaded "slowness", showing me the occasional beach ball on my iMac 24" with 2GB RAM.
    Upon viewing some photos (no apparent pattern) the following messages appear in my console log:
    Aperture(622,0xa000cfc0) malloc: * vm_allocate(size=4221227008) failed (error code=3)
    Aperture(622,0xa000cfc0) malloc: * error: can't allocate region
    Aperture(622,0xa000cfc0) malloc: * set a breakpoint in szone_error to debug
    Has anyone else experienced this in relation with new "slowness"?
    Does anyone know of anything I can do to fix it?
    Would a library rebuild be of any help, do you think?
    (I have 20.000+ images in my library - managed and referenced.)
    Yours sincerely,
    chaos pilot
    iMac 24" | 2 GB RAM   Mac OS X (10.4.8)  

    Yep, I've already reported it.
    If the size given in the error message is the amount of bytes Aperture tries to allocate it's actually trying to allocate about 4 gigs of memory.
    Surely, that's a lot - even for a memory-hungry app! :-D
    chaos pilot

  • "Unsupported Image Format" malloc error BUG

    I've been having this issue for weeks now; not sure what triggered it, but lately, it happens after editing somewhere between 20 - 50 photos. It happens with files from my Nikon D1, Nikon D70, and Nikon D300. It happens to both RAW files and JPEGS.
    The issue is, while going through a project, performing edits to the photos and then moving to the next one, after doing a set of photos, eventually, Aperture will give me the dreaded burgondy "Unsupported Image Format" in the main viewing window. That error will pop up for every photo, until I fix it, by quitting Aperture and restarting it; once I do that, the problem goes away, until it pops up again in another 20 - 50 photo edits.
    When the error does occur, something similar to what is below gets written to /var/log/system.log. This is most definately a bug in Aperture. Obviously not everyone is running into it, but Google tells me that enough people are hitting it, so there is obviously some combination of software and hardware configurations that causes this bug to trigger. There is a memory allocation bug in Aperture. The below messages make that statement indisputable. Apple, please fix this!
    May 17 09:49:01 sklarbook Aperture[17310]: Aperture(17310,0xb0cda000) malloc: * mmap(size=48848896) failed (error code=12)\n* error: can't allocate region\n* set a breakpoint in mallocerrorbreak to debu
    g
    May 17 09:49:03: --- last message repeated 1 time ---
    May 17 09:49:01 sklarbook [0x0-0x279279].com.apple.Aperture[17310]: Aperture(17310,0xb0cda000) malloc: * mmap(size=48848896) failed (error code=12)
    May 17 09:49:01 sklarbook [0x0-0x279279].com.apple.Aperture[17310]: * error: can't allocate region
    May 17 09:49:01 sklarbook [0x0-0x279279].com.apple.Aperture[17310]: * set a breakpoint in mallocerrorbreak to debug
    May 17 09:49:01 sklarbook [0x0-0x279279].com.apple.Aperture[17310]: Aperture(17310,0xb0cda000) malloc: * mmap(size=48848896) failed (error code=12)
    May 17 09:49:01 sklarbook [0x0-0x279279].com.apple.Aperture[17310]: * error: can't allocate region
    May 17 09:49:01 sklarbook [0x0-0x279279].com.apple.Aperture[17310]: * set a breakpoint in mallocerrorbreak to debug
    May 17 09:51:27 sklarbook Aperture[17310]: Aperture(17310,0xb0cda000) malloc: * mmap(size=48848896) failed (error code=12)\n* error: can't allocate region\n* set a breakpoint in mallocerrorbreak to debu
    g
    May 17 09:51:33: --- last message repeated 1 time ---
    May 17 09:51:27 sklarbook [0x0-0x279279].com.apple.Aperture[17310]: Aperture(17310,0xb0cda000) malloc: * mmap(size=48848896) failed (error code=12)
    May 17 09:51:27 sklarbook [0x0-0x279279].com.apple.Aperture[17310]: * error: can't allocate region
    May 17 09:51:27 sklarbook [0x0-0x279279].com.apple.Aperture[17310]: * set a breakpoint in mallocerrorbreak to debug
    May 17 09:51:27 sklarbook [0x0-0x279279].com.apple.Aperture[17310]: Aperture(17310,0xb0cda000) malloc: * mmap(size=48848896) failed (error code=12)
    May 17 09:51:27 sklarbook [0x0-0x279279].com.apple.Aperture[17310]: * error: can't allocate region
    May 17 09:51:27 sklarbook [0x0-0x279279].com.apple.Aperture[17310]: * set a breakpoint in mallocerrorbreak to debug
    May 17 09:51:46 sklarbook Aperture[17310]: Aperture(17310,0xb0637000) malloc: * mmap(size=35876864) failed (error code=12)\n* error: can't allocate region\n* set a breakpoint in mallocerrorbreak to debu
    g
    May 17 09:51:52: --- last message repeated 1 time ---
    May 17 09:51:52 sklarbook Aperture[17310]: Aperture(17310,0xb0cda000) malloc: * mmap(size=48848896) failed (error code=12)\n* error: can't allocate region\n* set a breakpoint in mallocerrorbreak to debu
    g
    May 17 09:52:03: --- last message repeated 1 time ---
    May 17 09:51:46 sklarbook [0x0-0x279279].com.apple.Aperture[17310]: Aperture(17310,0xb0637000) malloc: * mmap(size=35876864) failed (error code=12)
    May 17 09:51:46 sklarbook [0x0-0x279279].com.apple.Aperture[17310]: * error: can't allocate region
    May 17 09:51:46 sklarbook [0x0-0x279279].com.apple.Aperture[17310]: * set a breakpoint in mallocerrorbreak to debug
    May 17 09:51:46 sklarbook [0x0-0x279279].com.apple.Aperture[17310]: Aperture(17310,0xb0637000) malloc: * mmap(size=35876864) failed (error code=12)
    May 17 09:51:46 sklarbook [0x0-0x279279].com.apple.Aperture[17310]: * error: can't allocate region
    May 17 09:51:46 sklarbook [0x0-0x279279].com.apple.Aperture[17310]: * set a breakpoint in mallocerrorbreak to debug
    May 17 09:51:52 sklarbook [0x0-0x279279].com.apple.Aperture[17310]: Aperture(17310,0xb0cda000) malloc: * mmap(size=48848896) failed (error code=12)
    May 17 09:51:52 sklarbook [0x0-0x279279].com.apple.Aperture[17310]: * error: can't allocate region
    May 17 09:51:52 sklarbook [0x0-0x279279].com.apple.Aperture[17310]: * set a breakpoint in mallocerrorbreak to debug
    May 17 09:51:52 sklarbook [0x0-0x279279].com.apple.Aperture[17310]: Aperture(17310,0xb0cda000) malloc: * mmap(size=48848896) failed (error code=12)
    May 17 09:51:52 sklarbook [0x0-0x279279].com.apple.Aperture[17310]: * error: can't allocate region
    May 17 09:51:52 sklarbook [0x0-0x279279].com.apple.Aperture[17310]: * set a breakpoint in mallocerrorbreak to debug

    Make sure you use Aperture's "send feedback" to report this bug. Apple doesn't necessarily read these forums on a regular basis (see the TOS); they are user-to-user forums.

  • Malloc:*** errors in InDesign 2

    Hi,
    I'm a Mac consultant troubleshooting issues with InDesign acting slowly or freezing up. Console is reporting the below errors for the time this problem was most recently experienced and I'm not finding any information on them. Can anyone help?
    3/9/10 10:57:56 AM [0x0-0x25025].com.adobe.InDesign[236] Adobe InDesign CS2(236,0xa048c820) malloc: *** mmap(size=151552) failed (error code=12)
    3/9/10 10:57:56 AM [0x0-0x25025].com.adobe.InDesign[236] *** error: can't allocate region
    3/9/10 10:57:56 AM [0x0-0x25025].com.adobe.InDesign[236] *** set a breakpoint in malloc_error_break to debug
    3/9/10 10:57:56 AM [0x0-0x25025].com.adobe.InDesign[236] Adobe InDesign CS2(236,0xa048c820) malloc: *** mmap(size=151552) failed (error code=12)
    3/9/10 10:57:56 AM [0x0-0x25025].com.adobe.InDesign[236] *** error: can't allocate region
    3/9/10 10:57:56 AM [0x0-0x25025].com.adobe.InDesign[236] *** set a breakpoint in malloc_error_break to debug
    3/9/10 10:57:56 AM [0x0-0x25025].com.adobe.InDesign[236] Adobe InDesign CS2(236,0xa048c820) malloc: *** mmap(size=151552) failed (error code=12)
    3/9/10 10:57:56 AM [0x0-0x25025].com.adobe.InDesign[236] *** error: can't allocate region
    3/9/10 10:57:56 AM [0x0-0x25025].com.adobe.InDesign[236] *** set a breakpoint in malloc_error_break to debug
    3/9/10 10:57:56 AM [0x0-0x25025].com.adobe.InDesign[236] Adobe InDesign CS2(236,0xa048c820) malloc: *** mmap(size=151552) failed (error code=12)
    3/9/10 10:57:56 AM [0x0-0x25025].com.adobe.InDesign[236] *** error: can't allocate region
    3/9/10 10:57:56 AM [0x0-0x25025].com.adobe.InDesign[236] *** set a breakpoint in malloc_error_break to debug
    3/9/10 10:57:56 AM [0x0-0x25025].com.adobe.InDesign[236] Adobe InDesign CS2(236,0xa048c820) malloc: *** mmap(size=151552) failed (error code=12)
    3/9/10 10:57:56 AM [0x0-0x25025].com.adobe.InDesign[236] *** error: can't allocate region
    3/9/10 10:57:56 AM [0x0-0x25025].com.adobe.InDesign[236] *** set a breakpoint in malloc_error_break to debug
    3/9/10 10:57:56 AM [0x0-0x25025].com.adobe.InDesign[236] Adobe InDesign CS2(236,0xa048c820) malloc: *** mmap(size=151552) failed (error code=12)
    3/9/10 10:57:56 AM [0x0-0x25025].com.adobe.InDesign[236] *** error: can't allocate region
    3/9/10 10:57:56 AM [0x0-0x25025].com.adobe.InDesign[236] *** set a breakpoint in malloc_error_break to debug
    3/9/10 10:57:56 AM [0x0-0x25025].com.adobe.InDesign[236] Adobe InDesign CS2(236,0xa048c820) malloc: *** mmap(size=421888) failed (error code=12)
    3/9/10 10:57:56 AM [0x0-0x25025].com.adobe.InDesign[236] *** error: can't allocate region
    3/9/10 10:57:56 AM [0x0-0x25025].com.adobe.InDesign[236] *** set a breakpoint in malloc_error_break to debug
    3/9/10 10:58:53 AM [0x0-0x25025].com.adobe.InDesign[236] Adobe InDesign CS2(236,0xa048c820) malloc: *** mmap(size=184320) failed (error code=12)
    3/9/10 10:58:53 AM [0x0-0x25025].com.adobe.InDesign[236] *** error: can't allocate region
    3/9/10 10:58:53 AM [0x0-0x25025].com.adobe.InDesign[236] *** set a breakpoint in malloc_error_break to debug
    3/9/10 10:58:53 AM [0x0-0x25025].com.adobe.InDesign[236] Adobe InDesign CS2(236,0xa048c820) malloc: *** mmap(size=184320) failed (error code=12)
    3/9/10 10:58:53 AM [0x0-0x25025].com.adobe.InDesign[236] *** error: can't allocate region
    3/9/10 10:58:53 AM [0x0-0x25025].com.adobe.InDesign[236] *** set a breakpoint in malloc_error_break to debug
    3/9/10 10:58:53 AM [0x0-0x25025].com.adobe.InDesign[236] Adobe InDesign CS2(236,0xa048c820) malloc: *** mmap(size=184320) failed (error code=12)
    3/9/10 10:58:53 AM [0x0-0x25025].com.adobe.InDesign[236] *** error: can't allocate region
    3/9/10 10:58:53 AM [0x0-0x25025].com.adobe.InDesign[236] *** set a breakpoint in malloc_error_break to debug
    3/9/10 10:58:53 AM [0x0-0x25025].com.adobe.InDesign[236] Adobe InDesign CS2(236,0xa048c820) malloc: *** mmap(size=184320) failed (error code=12)
    3/9/10 10:58:53 AM [0x0-0x25025].com.adobe.InDesign[236] *** error: can't allocate region
    3/9/10 10:58:53 AM [0x0-0x25025].com.adobe.InDesign[236] *** set a breakpoint in malloc_error_break to debug
    3/9/10 10:58:53 AM [0x0-0x25025].com.adobe.InDesign[236] Adobe InDesign CS2(236,0xa048c820) malloc: *** mmap(size=184320) failed (error code=12)
    3/9/10 10:58:53 AM [0x0-0x25025].com.adobe.InDesign[236] *** error: can't allocate region
    3/9/10 10:58:53 AM [0x0-0x25025].com.adobe.InDesign[236] *** set a breakpoint in malloc_error_break to debug
    3/9/10 10:58:53 AM [0x0-0x25025].com.adobe.InDesign[236] Adobe InDesign CS2(236,0xa048c820) malloc: *** mmap(size=184320) failed (error code=12)
    3/9/10 10:58:53 AM [0x0-0x25025].com.adobe.InDesign[236] *** error: can't allocate region
    3/9/10 10:58:53 AM [0x0-0x25025].com.adobe.InDesign[236] *** set a breakpoint in malloc_error_break to debug
    3/9/10 10:58:53 AM [0x0-0x25025].com.adobe.InDesign[236] Adobe InDesign CS2(236,0xa048c820) malloc: *** mmap(size=421888) failed (error code=12)
    3/9/10 10:58:53 AM [0x0-0x25025].com.adobe.InDesign[236] *** error: can't allocate region
    3/9/10 10:58:53 AM [0x0-0x25025].com.adobe.InDesign[236] *** set a breakpoint in malloc_error_break to debug
    3/9/10 10:58:56 AM [0x0-0x25025].com.adobe.InDesign[236] Adobe InDesign CS2(236,0xa048c820) malloc: *** mmap(size=184320) failed (error code=12)
    3/9/10 10:58:56 AM [0x0-0x25025].com.adobe.InDesign[236] *** error: can't allocate region
    3/9/10 10:58:56 AM [0x0-0x25025].com.adobe.InDesign[236] *** set a breakpoint in malloc_error_break to debug
    3/9/10 10:58:56 AM [0x0-0x25025].com.adobe.InDesign[236] Adobe InDesign CS2(236,0xa048c820) malloc: *** mmap(size=184320) failed (error code=12)
    3/9/10 10:58:56 AM [0x0-0x25025].com.adobe.InDesign[236] *** error: can't allocate region
    3/9/10 10:58:56 AM [0x0-0x25025].com.adobe.InDesign[236] *** set a breakpoint in malloc_error_break to debug
    3/9/10 10:58:56 AM [0x0-0x25025].com.adobe.InDesign[236] Adobe InDesign CS2(236,0xa048c820) malloc: *** mmap(size=184320) failed (error code=12)
    3/9/10 10:58:56 AM [0x0-0x25025].com.adobe.InDesign[236] *** error: can't allocate region
    3/9/10 10:58:56 AM [0x0-0x25025].com.adobe.InDesign[236] *** set a breakpoint in malloc_error_break to debug
    3/9/10 10:58:56 AM [0x0-0x25025].com.adobe.InDesign[236] Adobe InDesign CS2(236,0xa048c820) malloc: *** mmap(size=184320) failed (error code=12)
    3/9/10 10:58:56 AM [0x0-0x25025].com.adobe.InDesign[236] *** error: can't allocate region
    3/9/10 10:58:56 AM [0x0-0x25025].com.adobe.InDesign[236] *** set a breakpoint in malloc_error_break to debug
    3/9/10 10:58:56 AM [0x0-0x25025].com.adobe.InDesign[236] Adobe InDesign CS2(236,0xa048c820) malloc: *** mmap(size=184320) failed (error code=12)
    3/9/10 10:58:56 AM [0x0-0x25025].com.adobe.InDesign[236] *** error: can't allocate region
    3/9/10 10:58:56 AM [0x0-0x25025].com.adobe.InDesign[236] *** set a breakpoint in malloc_error_break to debug
    3/9/10 10:58:56 AM [0x0-0x25025].com.adobe.InDesign[236] Adobe InDesign CS2(236,0xa048c820) malloc: *** mmap(size=184320) failed (error code=12)
    3/9/10 10:58:56 AM [0x0-0x25025].com.adobe.InDesign[236] *** error: can't allocate region
    3/9/10 10:58:56 AM [0x0-0x25025].com.adobe.InDesign[236] *** set a breakpoint in malloc_error_break to debug
    3/9/10 10:58:56 AM [0x0-0x25025].com.adobe.InDesign[236] Adobe InDesign CS2(236,0xa048c820) malloc: *** mmap(size=421888) failed (error code=12)

    Also, none of the 61 lines of error messages mention anything about the system used. Should we be guessing? Okay ... is it .. an Atari ST 520?

  • While sync : can't allocate more memory !!!(WCE)

    Hi All,
    I'm synchronizing (/Orace/mSync.exe) several MB of data (not much more of 10 MB) on a CASSIOPEIA E-200 (64 MB) with a SD Card extension of 128 MB. While synchronizing, main memory decreases dramatically (main memory, not external memory) and finally i get the message:
    -2000 can't allocate more memory -2000:0
    Other synchronizations with a smaller amount of data are working ok.
    It is posible for a sync of ~10 MB to drain >40MB of main memory?? !!
    By now, i'm using the SD Card directory to store the synchronized client DB, but this is not enough to solve the problem.
    I think that temporary files and processes on main memory are involved in this problem. It is posible to use memory cards for this??
    Some ideas????
    Thanks in advance.
    Andris

    Humm,
    I think the problem may be the size of a single table replication.
    The replication of 10000 registers from this table is working ok, but replicating 25000 i get the error ("Can't allocate more memory").
    Anyone knows a limitation in the number of registers or size of a table replication????!!!
    Thanks!!
    Andris

  • JBoss EAP 6 On JRockit - Memory Leak

    hello team.
    I have memory leak problem on jboss and jrockit.
    My Environment :
    1. OS :          
    CentOS release 6.4 (Final)
    2. JRockit :     
    java version "1.6.0_45"
         Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
         Oracle JRockit(R) (build R28.2.7-7-155314-1.6.0_45-20130329-0641-linux-x86_64, compiled mode)
    3. Application Server:
    JBoss EAP 6.2.0.GA
    4. Application
    Large EJB Application (100 and more EJB Beans (Stateless, Stateful,  MDB, Timers and so on)
    Everything works fine on older application server versions (4.3 , 4.2)
    But now I have Problem
    Of course I know that problem is new version - and i have discussion on JBoss forums.
    but guys I have question about jrockit with you:
    What is the option "Other" in memory ??
    [jboss@jboss-new bin]$ jrcmd 17114  print_memusage
    17114:
    Total mapped                       8457864KB           (reserved=2983100KB)
    -              Java heap              3145728KB           (reserved=0KB)
    -              GC tables            105232KB         
    -          Thread stacks       46412KB           (#threads=138)
    -          Compiled code       1048576KB           (used=12257KB)
    -               Internal                   1480KB         
    -                     OS       170324KB         
    -                  Other       3639056KB         
    -            Classblocks         10496KB           (malloced=9631KB #28393)
    -        Java class data       289536KB           (malloced=192391KB #133697 in 28393 classes)
    - Native memory tracking     1024KB           (malloced=294KB #10)
    [jboss@jboss-new bin]$
    This size increases every time - and took entire amount of RAM.
    Thank in Advance.
    Regards,
    Paata Lominadze

    Not sure what the 'other' is, but it is probably best shown by using an example. By using displayMap we can display a memory map of various JVM subsystems and libraries that are loaded, including third-party libraries.
    ./jrcmd 4523 print_memusage displayMap
    Total mapped                  3984796KB           (reserved=2978740KB)
    -              Java heap       524288KB           (reserved=0KB)
    -              GC tables        17548KB         
    -          Thread stacks        20276KB           (#threads=39)
    -          Compiled code      1048576KB           (used=14224KB)
    -               Internal         1672KB         
    -                     OS       146924KB         
    -                  Other      2092648KB         
    -            Classblocks         7424KB           (malloced=7381KB #20064)
    -        Java class data       124416KB           (malloced=124411KB #91048 in 20064 classes)
    - Native memory tracking         1024KB           (malloced=118KB #10)
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
        OS                          *java    r x 0x0000000000400000.(     76KB)
        OS                          *java    rw  0x0000000000612000.(      4KB)
        OS                        *[heap]    rw  0x00000000007c1000.(    132KB)
       INT                           Poll    r   0x000000007fffe000 (      4KB)
       INT                         Membar    rw  0x000000007ffff000.(      4KB)
       MSP              Classblocks (1/2)    rw  0x00000000df8c0000 (   6912KB)
       MSP              Classblocks (2/2)    rw  0x00000000dff80000 (    512KB)
      HEAP                      Java heap    rw  0x00000000e0000000.( 524288KB)
        OS                    *ld-2.12.so    r x 0x0000003664400000.(    128KB)
        OS                    *ld-2.12.so    r   0x000000366461f000 (      4KB)
        OS                    *ld-2.12.so    rw  0x0000003664620000 (      4KB)
        OS                   **ld-2.12.so    rw  0x0000003664621000.(      4KB)
       OS           *gconv-modules.cache    r   0x00007f8f2e4a0000 (     28KB)
    THREAD                     Stack 4630    rwx 0x00007f8f2e4a7000 (      8KB)
    THREAD                     Stack 4630        0x00007f8f2e4a9000 (     12KB)
    THREAD                     Stack 4630    rwx 0x00007f8f2e4ac000 (    244KB)
       MSP         Java class data (5/37)    rw  0x00007f8f2e4e9000 (  14336KB)
       MSP         Java class data (9/37)    rw  0x00007f8f2fa40000 (   5888KB)
                                             rw  0x00007f8f30000000 (    188KB)
                                                 0x00007f8f3002f000 (  65348KB)
                                             rw  0x00007f8f34000000 (    132KB)
                                                 0x00007f8f34021000 (  65404KB)
                                             rw  0x00007f8f38000000 (    412KB)
                                                 0x00007f8f38067000.(  65124KB)
       MSP        Java class data (10/37)    rw  0x00007f8f3c034000 (  34048KB)
                                             rw  0x00007f8f3e174000 (   8200KB)
       MSP        Java class data (11/37)    rw  0x00007f8f3e976000 (    256KB)
        OS                     *libhpi.so    rw  0x00007f8fb37fc000 (      8KB)
        OS                    **libhpi.so    rw  0x00007f8fb37fe000 (      4KB)
      CODE                  Compiled code    rwx 0x00007f8fb37ff000 (     64KB)
      CODE                  Compiled code    rwx 0x00007f8fb380f000 (    128KB)
      CODE                  Compiled code    rwx 0x00007f8fb382f000 (     64KB)
      MSP        Java class data (37/37)    rw  0x00007f8ff83a1000 (    512KB)
        GC Modified Union Set (committed)    rw  0x00007f8ff8421000 (    132KB)
        GC                     Card table    rw  0x00007f8ff8442000 (   1024KB)
        GC        Object bits (committed)    rw  0x00007f8ff8542000 (   8196KB)
    Here
    - thread is thread related (such as thread stacks)
    - int, internal use (such as pointer pages)
    - heap, chunk used by JRockit for the Java heap
    - os, mapped directly from the operating system, such as third party DLLs or shared objects
    - msp, memory space. a memory space is a native heap with a specific purpose, for example native memory allocation inside the JVM
    - gc, garbage collection related, for example live bits
    - code, compiled code
    The 'other' memory space looks to me (from the blank entries in the above print-out) like they are a memory pages to are still not used. When the JVM starts it mappes an amount of memory. To my knowledge JRockit uses mmap (mmap(2) - Linux manual page), which creates a new mapping in the virtual address space. JRockit reserves an amount of memory (Java Heap (heap where your object instances go) + its own runtime (all the others)).
    To see where the growth is in the various memory spaces, you can use 'print_memusage baseline', after which you can execute print_memusage again, for example,
    ./jrcmd 4523 print_memusage scale=M
    4523:
    Total mapped                     3896MB      +4MB (reserved=2905MB -3MB)
    -              Java heap          512MB           (reserved=0MB)
    -              GC tables           17MB         
    -          Thread stacks           19MB           (#threads=39)
    -          Compiled code         1024MB           (used=14MB +1MB)
    -               Internal            1MB         
    -                     OS          143MB         
    -                  Other         2043MB         
    -            Classblocks            7MB           (malloced=7MB #20596 +532)
    -        Java class data          126MB      +4MB (malloced=125MB +4MB #93640 +2592 in 20596 classes)
    - Native memory tracking            1MB           (malloced=0MB #20 +10)
    Note the additional column that prints out the difference in memory usage in relation to the baseline. You can also monitor native allocations by using trace_alloc_sites, memory allocations can then be displayed with different levels of detail using the level argument.
    ./jrcmd 4523 print_memusage trace_alloc_sites=true
    4523:
    Total mapped                  3989660KB   +4864KB (reserved=2974732KB -4008KB)
    -              Java heap       524288KB           (reserved=0KB)
    -              GC tables        17548KB         
    -          Thread stacks        20276KB           (#threads=39)
    -          Compiled code      1048576KB           (used=15265KB +1040KB)
    -               Internal         1672KB         
    -                     OS       146924KB         
    -                  Other      2092648KB         
    -            Classblocks         7680KB    +256KB (malloced=7669KB +287KB #20596 +532)
    -        Java class data       129024KB   +4608KB (malloced=128967KB +4555KB #93640 +2592 in 20596 classes)
    - Native memory tracking         1024KB           (malloced=236KB +118KB #20 +10)
    ./jrcmd 4523 print_memusage level=3
    4523:
    Total mapped                  3989660KB   +4864KB (reserved=2974732KB -4008KB)
    -              Java heap       524288KB           (reserved=0KB)
    -              GC tables        17548KB         
    -          Thread stacks        20276KB           (#threads=39)
    -          Compiled code      1048576KB           (used=15265KB +1040KB)
    -               Internal         1672KB         
    -                     OS       146924KB         
    -                  Other      2092648KB         
    -            Classblocks         7680KB    +256KB (malloced=2KB -7379KB #4 -20060) Not fully traced
    -        Java class data       129024KB   +4608KB (malloced=26KB -124385KB #16 -91032 in 20596 classes) Not fully traced.
    - Native memory tracking         1024KB           (malloced=118KB #10) Not fully traced.
         gather_memorymap_database                     memtrace.c: 206         91KB     +91KB (#1 +1)
               gather_memory_usage                  osal_mspace.c:5142          7KB      +7KB (#4 +4)
      msGatherMSpacesUsageDatabase                  osal_mspace.c:6128          2KB      +2KB (#1 +1)
      msGatherMSpacesUsageDatabase                  osal_mspace.c:6134         16KB     +16KB (#1 +1)
    Note this is more on the JVM level, in your case in might be beneficial to investigate what is happening on the java heap. By using print_object_summary you can get insight how memory on the heap is used on a per-class basis. To get to the bottom of where the memory leak is you can use the memory-leak-detector (an example of its use can be found here Middleware Snippets: Fast, Faster, JRockit). You can also obtain a heapdump that can be analyzed by using for example MAT (see for an example here Middleware Snippets: Visualizing Class Loading). To obtain a heapdump you can run the command, for example,
    [weblogic@machine1 bin]$ ./jrcmd 4523 runsystemgc full=true fullcompact=true
    4523:
    [weblogic@machine1 bin]$ ./jrcmd 4523 hprofdump filename=/home/weblogic/dump.hprof
    4523:
    Wrote dump to /home/weblogic/dump.hprof
    Note that this first issues a full GC by using the runsystemgc command.

  • Memory Leak in .swf

    Memory Leak issue with CS4
    Using CS4, we have a memory leak and I can not find the
    source of the problem.
    http://tiny.cc/O7D3e here is the
    link to the testing site. If you take a look at your task manager
    you will see it your RAM will continue to increase even after two
    or three cycles. It does not stabilize.
    We are using FlashEff | Flash Effects Component in order to
    generate the smooth transitions. However, I have done some
    debugging and even completely deleted the plug n from the file and
    it still continually leaks memory. Does anyone have any possible
    solutions or causes for this.

    One idea - there is a separate stack of memory in the flash
    player where loaded classes in separate application domains exist,
    and these classes are not being garbage collected....however, there
    is a line in adobe's documentation here:
    http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Liv eDocs_Parts&file=00000327.html
    under "Usage C" :
    quote:
    Having a new application domain also allows you to unload all
    the class definitions for garbage collection, if you can ensure
    that you do not continue to have references to the child SWF.
    Given that, as far as I can see from this code, there is no
    reference to the loaded .swf maintained....it seems to me like the
    loaded data (graphical assets AND classes) should be garbage
    collected - but, while you WILL see a slight drop in memory after
    the removal of the SWF, the overall memory continues to increase
    the more you do it. Could Adobe be mistaken?

  • Maximize server uptime - memory leak?

    Since we stabilized the newly introduced WLI 8.1 application we are now fine tuning the JVM. We are facing some kind of memory leak which forces us to reboot the WLS instances daily.
    I'm now asked to identify some strategies how we could let the WLI instances run for longer than 1 day. My goal is 7 days, so that the machines must only be touched once a week. The relevant JVM settings are like this:
    -Xms2048m -Xmx2048m -Xmanagement -Djrockit.managementserver.port=30011 -XgcPrio:throughput
    I've choosen the "throughput" strategy as we have here a systems which acts asynchronously most of the time (WLI). I have attached two JRA records. The first ("1day") shows a system which has an uptime of now 16 hours. The heap utilization is almost all the time between 90%-100%. Things get worse after a while. In the consequence we are rebooting the server when we see more and more timeout-exceptions in our WLI layer and heavy GC activity ("average time spent in GC")
    The other record ("leakdetector") shows a system which is now running for almost 3 hours. Here I connected the memory leak detector. The graph looks a bit better / more balanced. Means, that after 3 hours the avg heap util remains between the margins of 40-50 %. The trend of the bottom margin however clearly indicates an increasing memory footprint.
    To understand this in more detail I started using the memory leak analyzer. So far I got no benefit from using the tool, though it looks very impressive. However, when I connect the memory leak analyzer I can observe some strange heap graph changes. I suppose the memory leak detector has some impact onto the GC strategies, doesn't it? My heap graph looks totally different with no leak detector attached. What can be the reason on this?
    Also I'm quite a bit confused why the "Growth" indicator always stays at 0 bytes/sec, even when I can see that objects are getting bigger and bigger. What is the secret here?
    i appreciate every comment you have on my case,
    thanks a lot

    You might also look at approaching the problem for a different perspective. Which transactions, requests, components are creating the most amount of memory? What concurrent requests where active when the memory jumped or an OOME was thrown. I have found this approach effective in getting a good idea on where to focus memory diagnostics after ruling of course a resource capacity issue.
    The following article discusses the difference between a leak and a capacity problem.
    http://www.jinspired.com/products/jxinsight/outofmemoryexceptions.html
    Also you should try high level monitoring to see whether there are global patterns in metric data that provides clues. This blog entry shows what is possible with professional performance management tools with visualizations going beyond pie charts and table views.
    Beautiful Evidence: Metric Monitoring
    http://blog.jinspired.com/?p=33
    There are also many low level memory inspection tools on the market that might help quickly navigate the heap and identify the problem though I think the JRA tool has probably most of the same features.
    Regards,
    William Louth
    JXInsight Product Architect
    CTO, JInspired
    "Java EE tuning, testing, tracing, and monitoring with JXInsight"
    http://www.jinspired.com

  • Memory leak with multi-threaded environment

    When starting an environment with the THREADED_MUTEXED
    or THREADED_UNMUTEXED mode parameter, the oracle OCCI API
    has a memory leak. This can be demonstrated by modifying
    the "occidml.cpp" demo program as follows:
    Replace line 26:
    env = Environment::createEnvironment (Environment::DEFAULT);
    with
    env = Environment::createEnvironment (Environment::THREADED_MUTEXED);
    And replace line 164:
    demo->displayAllRows();
    with
    for (int ii=0; ii<10000; ii++) demo->displayAllRows();
    Recompile and run the program, and use "top" to see the
    size of the process's used memory continually increase
    unbounded.
    I am using the Oracle 9.2.0.1.0 database on Linux,
    gcc version 2.96.
    Is anyone aware of a fix for this problem?

    Yeah, I did suffer from this.
    If possible , you can switch to using OCCI on Oracle 10G client , you will find no memory leak issue anymore.
    Another issue is that OCCI is using default connection-blocking implementation , if a DB connection is blocked by accident just like plugging out the network link, you can not get any timeout or connection closed indications. You must implement your own OCCI connection timeout strategy, and you must kill the thread/process you are using.

  • Memory leak in NSUserDefaults

    Hi, I have a iphone photography App. In my app, user may open many images. Each time user opens a new image, I will save the image to NSUserDefault so that next time user starts my app, the last image will be loaded.
    Here is my code, (I call this method everytime user opens a new image)
    -(void) saveDefaults:(
    NSUserDefaults *standardUserDefaults = [NSUserDefaults standardUserDefaults];
    if (standardUserDefaults){
    NSData* imageData = [NSData dataWithBytes:(void*)someMemoryBuffer length:lengthOffBuffer];
    [standardUserDefaults setObject:imageData forKey:@"MyImage"];
    I do not call [standardUserDefaults synchronize] each time I put a new image in NSUserDefaults. I call it to commit saving image to NSUserDefault only when my program ends.
    It seems that there is a memory leak. I used PerfermanceTool, it does report any memory leak, but I can see that the memory token by my App increases everytime I call "saveDefaults" and perfermanceTool points the increase of memory to the "saveDefauts" function. Is there any memory problem in my code.
    Thank you very much.
    ff

    As I have neither an iPhone Developer account nor an iPhone, I can't help very much. Try this link. I don't know if it will help because I can't sign in. You could save your data in SQLite.
    You could follow these instructions. Try looking at the official Apple documentation instead.

  • Memory leak with FP closed

    Well this is an odd one I must say.
    I have an application where I would like the front panel to disappear
    at the user's discretion so it's not in the way while it's processing
    information in the background.  To process the information I have
    a custom DLL and to check the progress of the custom DLL, I have a
    routine that I can call that will return the status.  So the
    information processor is called and it just runs in the background, and
    then the status routine is called in a parallel loop until the status
    routine determines that the processing is finished.  When the
    status routine says it's done, the parallel loop exits and another
    routine sets a flag for the processor to exit (so everything quits).
    In order to make the DLL calls work right as far as execution
    sequencing, they are called as re-entrant.  I stumbled across that
    orginally because it was locking things up when I was trying to call
    them in parallel.
    I have no memory leaks in the external DLL calls and this is verifiable
    by running the processing routine indefinitely while checking the
    status indefinitely.  The problem is when I open a VI reference to
    the main VI then make it's front panel not visible.  At that
    point, memory usage starts increasing by 400k/sec (which is larger than
    the entire DLL).  It will eventually just crash the system. 
    If I set the front panel to be closed on a timer (for several seconds
    say), the memory usage will increase for that amount of time and then
    stop once the FP is opened again.
    I know this is really difficult without having some code to look at but
    it would be really hard for me to dumb down the code to get the problem
    in a simple set of VI's to look at.  I'm wondering however if the
    reentrant DLL calls are having some weird interaction with windows
    since I'm guessing at a lower level, the application's window handle is
    invalidated when the front panel is closed.  I'm wondering if the
    reentrant DLL status call is having new memory allocated for it every
    time it is called in the status loop.  I just can't figure out how
    that has anything to do with the front panel being closed though.
    Any suggestions on things to try or look at?

    Well after tweaking around, running the DLL calls in the UI thread
    instead of as re-entrant fixes the massive memory leak.  I can't
    think of a good reason why that isn't a bug, but whatever. 
    Perhaps it's not crashing the program now when running in the UI Thread
    since each DLL call is actually in it's own re-entrant VI
    wrapper.  Hmmm...

  • External Function memory leak

    The ExternalFunction.java sample code distributed with v.2.5.16 has a memory leak.
    You can see this by changing the loop to iterate a million times; eventually it runs out of memory and crashes.
    (I used jdk 1.7 u2 on Windows 7.)
    I tried adding explicit calls to delete() for every created Java object in the example, none of which helped.
    As far as I can tell, it is simply not possible to use external functions from Java without leaking memory.
    Any thoughts on this?

    thanks Silviu
    i create two bugs
    https://bugbase.adobe.com/index.cfm?event=bug&id=3341143
    https://bugbase.adobe.com/index.cfm?event=bug&id=3341146

Maybe you are looking for

  • Is there a way to create a commentary audio track with iDVD?

    Thanks Eric

  • Adobe Reader XI Crashes

    I'm having problems getting adobe reader to work, I tried upgrading to version XI but still no joy, trying to run the program from the desktop shortcut or trying to open a PDF file gives the following error: Adobe Reader has encountered a problem and

  • How to create alpha videos now FLV / F4V support dropped from Media encoder

    Now that Media encoder has dropped support for FLV / F4V has anyone got any ideas how you would create a video with an alpha channel for use in flash professional. With flash professional only really supporting the H.264 CODEC, I can't see any way po

  • My macbook pro battery will not hold charge

    My macbook pro battery will not charge. The laptop will only turn on after it has been plugged in to charge, and when unplugged it automatically dies. When plugged in the battery indicator is green and the top right corner of the screen says "Not cha

  • I have on a mac the free and Adobe XI on same computer

    I have the adobe free edition now version 9.5.5 and adobe XI that i bought both wanting to update.  Can i delete the free version and keep the Adobe XI and have the same functionality as the free version?  will this also allow it to run smoother?