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.

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.

  • 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.

  • 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

  • I have four devices on my itunes account. Can I allocate gift cards to each different device?

    I have four devices on my itunes account. Can I allocate gift cards to each different device?

    No.
    The credit is applied to the account, not the device.

  • Error while creating Move-In - How can i Allocate Device to Installation ?

    Hello Experts,
    while creating Move-In i am getting following Error "No Devices Allocated to Installation PC0301A0 on 10.03.2011"
    How can i allocate device to installation, please advise where can i configure the settings and create Move-In without above error.
    Regards,
    Rajesh. G

    Hi Bill,
    Thanks for your responce it was helpfull, but i am trying to create Move-In with help of Contract Account. I was not able to create Move-In and i tried even with Bussiness Partner.
    When i was trying to create Move-In with the help of Business Partner Option in Move-In i am getting error as "The required index has not been created yet in the search Engine", same is happening when i am trying for Business Partner in Business Master Data. This might be the reason for Move-In creation Error, please help me where can i configure index settings for search engine for Business Partner.
    Please correct me if i am wrong.
    Thanks,
    Rajesh Gunda

  • Photoshop CS5 can only decode fax encoded images up to 32767 pixels wide and tall

    Dear Sir/Madam,
    Can you please help me? I am scanning large drawings using an Xerox 6204 Large printer/scanner. The resolution is set at 600 and saved as .tif. Photoshop CS3 can open files with no problems, but CS5 gives me the following message:
    "Photoshop can only decode fax encoded images up to 32767 pixels wide and tall"
    I can also view with infarview and open with applications such as corel draw. Am I missing a plug-in or patch update? The same file can be opened in both Photoshop versions if I scan at resolution 300.
    Your help is greatly appreciated.
    All the best
    Paulo

    Hi Mylenium,
    Many thanks for the prompt reply.
    I agree with you... it's a little odd to save on fax tiff format... to be honest, it's not like we have an option on the matter... the XEROX 6204 Large Format Printer/Scanner either give us .Tif or .PDF options... Anyway's no problem with CS3 or other software like mentioned above... so even knowing it's a bit strange to use such format, still does not explain why on CS5 I get this error message. Furthermore if I open on CS3 and save as (same file name and same format .tif) I can then open on CS5!!!!
    To my surprise, I did not know it was saving as a fax tif... all I get is tif. Even so if all other software including an older version of Photoshop can open it why CS5 can not? What is missing? As mentioned if scanned at 300 dpi it opens... Confused. Very confused!!
    All the best
    Paulo

  • Any way i can change the region code after the fifth time?

    I wasn't aware about the region code being lock after the fifth time.
    Is there any way I can change the region code instantly?

    No, the drive is permanently locked to the last code you used. If it's not on the one you would prefer, the only thing you can do it replace the drive.
    Almost all drives you can get are region free. I couldn't tell you why Apple continues to use drives that require selecting a region.

  • Libgc crashes with 'can't allocate header' error

    We have tried to use libgc (http://developers.sun.com/solaris/articles/libgc.html) on Solaris to solve memory fragmentation problem in our product. It did work well for low volume tests. Memory drop was seen. But when subjected to heavy load, it crashes the server with 'Can't allocate header' error. Do any have an idea on what to do in such situations ?

    Thanks for the explanation of incompatibility between Java GC for C++. Regarding multithreading support, I did mail to Boehm, Hans. The following is the excerpt from his reply:
    "If you are going to try the open source GC, I would first try gc7.2alpha4, which is close to the current CVS version. You would probably need to build it with -DREDIRECT_MALLOC=GCmalloc or --enable-redirect-malloc to allow it to intercept plain malloc calls. This is likely to cause problems for a multithreaded Solaris application; I haven't tried recently."
    Also, We've tried to compile gc6.8 and gc7.1 versions with redirect malloc and enable threads options. There's an explicit check for this in the gc code. If redirect malloc,enable threads are mentioned and if the OS is not Linux, the compilation fails. Multithreaded support with redirect malloc seems to be well tested on Linux and it is not guaranteed on Solaris. The reply from Boehm also confirms it. It would be nice if Solaris releases the latest version gc by resolving the programming interface changes.

  • JVM can´t allocate same heap mem after crash!

    Hi!
    I have a curios behavior of the JVM
    HW info:
    CPU: Intel i7
    Mem: 4GB
    OS: RedHat 5.5 32-bit
    Kernel: 2.6.33
    JRE: jre-1.6.0_30-fcs
    (have try newer JRE with same behaviors)
    On a clean new installed system I can start our java application with following commands/params
    "java -Xms2048m -Xmx2048m -server cp bin/* com.nnn.nnnn.nnnn.ClientProgram"
    After a while the application is crashed, (we are tracking that problem)
    == Log info
    2012-02-13 16:09:14,234 - appl_e1: #
    2012-02-13 16:09:14,234 - appl_e1: # A fatal error has been detected by the Java Runtime Environment:
    2012-02-13 16:09:14,234 - appl_e1: #
    2012-02-13 16:09:14,235 - appl_e1: # SIGSEGV (0xb) at pc=0x1b30eafc, pid=5254, tid=459979664
    2012-02-13 16:09:14,235 - appl_e1: #
    2012-02-13 16:09:14,235 - appl_e1: # JRE version: 6.0_18-b07
    2012-02-13 16:09:14,235 - appl_e1: # Java VM: Java HotSpot(TM) Server VM (16.0-b13 mixed mode linux-x86 )
    2012-02-13 16:09:14,235 - appl_e1: # Problematic frame:
    2012-02-13 16:09:14,235 - appl_e1: # C 0x1b30eafc
    2012-02-13 16:09:14,235 - appl_e1: #
    2012-02-13 16:09:14,236 - appl_e1: # An error report file with more information is saved as:
    2012-02-13 16:09:14,236 - appl_e1: # /tmp/hs_err_pid5254.log
    2012-02-13 16:09:14,243 - appl_e1: #
    2012-02-13 16:09:14,243 - appl_e1: # If you would like to submit a bug report, please visit:
    2012-02-13 16:09:14,243 - appl_e1: # http://java.sun.com/webapps/bugreport/crash.jsp
    2012-02-13 16:09:14,244 - appl_e1: # The crash happened outside the Java Virtual Machine in native code.
    2012-02-13 16:09:14,244 - appl_e1: # See problematic frame for where to report the bug.
    2012-02-13 16:09:14,244 - appl_e1: #
    ===
    (Unfortunately the log file is wioed out :-(( . Will post one when we get the crash )
    Next time we try to start with same parameters the JVM can not allocate memory
    ==
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine
    ==
    If we decrease the heap mem to 1536m we can start the application (JVM can allocate memory for the heap)
    After rebooting the system we get same error with a heap of 2048m
    It is possible to start it with a heap of 1536m
    The most curios is if I reinstall the system I can allocate a heap of 2048m to the next crash !!!
    Where is the information for the JVM about the heap mem allocation?
    It must be somewhere on the file system?
    //U

    jschell wrote:
    The most curios is if I reinstall the system I can allocate a heap of 2048m to the next crash !!!Presuming that you are not mis-reporting or mis-evaluating something...
    linux-x86 On Linux virtual memory relies on file space that exists on the harddrive which is dedicated to that purpose.
    The file space is just like any other file space.
    If that file space fills up, for any reason, then the OS will appear to run out of memory for applications.
    The one time this happened to me the virtual space was mapped such that regular files were using the space. Specifically my log files. So as the log files grew the application memory decreased.And if the crashed JVM generates a core file...

  • 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

  • Can't allocate 2GB in JNI?

    Hi,
    I've got an application that uses JNI to allocate lots of memory. I was surprised to learn that my process maxes out at about 1900 MB (I would expect to get arbitrarily close to 2048 MB on a 32-bit windows platform).
    I don't think it's fragmentation - I've tried allocating very small amounts of memory and still fail.
    I run java with -Xmx2M -Xms2M so that the java heap is small.
    If I investigate the process heap (for example with ProcessViewer) I see lots of free blocks, but the OS won't let me allocate them for some reason.
    I guess this is probably something to do with the way the windows allocator works - can anybody explain this to me?
    It's very easy to duplicate this behaviour:
    Thanks!
    public class test extends JFrame
    public test() {
    System.out.println("In java constructor.");
    System.loadLibrary("jtest");
    testFunc();
    native public void testFunc();
    public static void main(String[] args)
    test t = new test();
    System.exit(0);
    // JNI function which allocates memory until it fails, then reports the total process memory usage.
    #include <iostream>
    #include <jni.h>
    #include <jawt_md.h>
    #include <new>
    #include <exception>
    #include "windows.h"
    #include "psapi.h"
    #include "test.h"
    using namespace std;
    // Simple linked list.
    struct BigNum {
    float d[4095];
    BigNum *next;
    /* Dump the total memory used by the process. */
    void dumpProcessMemory() {
    DWORD processID = GetCurrentProcessId();
    HANDLE hProcess;
    PROCESS_MEMORY_COUNTERS pmc;
    hProcess = OpenProcess( PROCESS_QUERY_INFORMATION |
    PROCESS_VM_READ,
    FALSE, processID );
    if (NULL == hProcess)
    return;
    if ( GetProcessMemoryInfo( hProcess, &pmc, sizeof(pmc)) )
    cout << "Total memory use is " << pmc.PagefileUsage << " bytes." << endl;
    JNIEXPORT void JNICALL Java_test_testFunc(JNIEnv *, jobject) {
    BigNum head;
    BigNum *next = &head;
    int count = 0;
    try {
    while(true) {
    BigNum *alloc = new BigNum;
    // windows allocator returns null when it can't allocate.
    if (!alloc) throw exception("Out of memory!");
    next->next = alloc;
    next = next->next;
    ++count;
    } catch (exception&) {
    cout << "Ran out of memory: q size is " << count*sizeof(BigNum)/1024/1024 << " MB." << endl;
    dumpProcessMemory();
    next = head.next;
    while (next) {
    BigNum *nextnext = next->next;
    delete next;
    next = nextnext;

    This is a 32 bit Windows problem. Basically no matter how much memory you have the default is to allocate 2GB for Windows and 2GB for applications. As there are likely at least some applications running on your machine you will never be able to get the full 2GB. And if you have less than 4GB then
    It is possible to pass a flag to the boot loader and have only 1GB partitioned for the O/S. I found a little information about that at http://www.amiravis.com/3GBswitch-instruction311.html

  • In my server RMAN can't allocate memory to the virtual instance

    Hi
    I want to restore my database in a new server
    At first I want to restore "spfile" from controlfile autobackup, there is no spfile or pfile of my database in the new server
    I do these steps
    1 . expoer ORACLE_SID=Sales
    2. rman target /
    3. rman > set dbid 817528985
    4. rman > startup force nomount
    after step 4 I get this error :
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of startup command at 09/22/2010 14:03:21
    RMAN-04014: startup failed: ORA-04031: unable to allocate 28704 bytes of shared memory ("shared pool","unknown object","sga heap(1,0)","kebm test replies")
    I get this error while I have about *80GB* free memory on the new server
    and my parameters in /etc/sysctl.conf file is :
    kernel.sysrq = 0
    kernel.core_uses_pid = 1
    kernel.shmall = 5242880
    kernel.shmmax = 42949672960
    kernel.shmmni = 4096
    kernel.sem = 250 32000 100 128
    fs.file-max = 65536
    net.ipv4.ip_local_port_range = 1024 65000
    net.core.rmem_default = 1048576
    net.core.rmem_max = 1048576
    net.core.wmem_default = 262144
    net.core.wmem_max = 262144
    I need to say that I can create a new database in that server by dbca that its
    sga_max_size is 9632M and pga_aggregate_target is 3206M
    Do you know what is wrong ? Do you know why RMAN can't allocate memory to the virtual instance ?
    thanks

    The database which could not start is because of the low memory on the system or in the sga_max_size there is high value set. So the system could not allocate so large memory as it does not have free so much. There may be other reasons like OS limitation in order of usage the memory.
    Set a lower amount of memory in the database.
    Eg:
    SQL> alter system set sga_max_size=1600M scope=spfile;
    System altered.
    SQL> alter system set sga_target=1600M;
    System altered.
    refer the link it will be useful:http://arjudba.blogspot.com/2008/05/startup-fails-with-ora-27102-out-of.html
    else use manually copy the spfile/pfile to the new server
    refer the link, it may be useful to you.http://oracleinstance.blogspot.com/2010/08/disaster-recovery-using-rman-demo.html
    Edited by: rajeysh on Sep 22, 2010 4:40 PM

  • Can i allocate cost from Internal order to PA?

    can i allocate cost from Internal order to PA?
    if i can .
    please tell me how to do.

    Hello Friend,
    OKO7 is the tcode to settlement profile - here you can choose segement for allowable settlement object.
    KO88 is the tcode of settlement of internal order.
    Thanks
    ravi

  • CS5 can't preview the fonts image after upgrade the OS X 10.10.1

    My CS5 can't preview the fonts image after upgrade the OS X 10.10.1,
    Wanna try to reinstall the AI but my disc read error. Anyone has this problem or solution, Many Thanks!!

    Thanks but can't find this "system transparency" setting inside the illustrator. Search the key word doesn't work...

Maybe you are looking for

  • Trouble with Creative Cloud and After Effects

    Hello, I'm having a lot of trouble lately with the Creative Cloud desktop application. I've uninstalled and reinstalled it several times and it keeps getting stuck here: And nothing loads! I was also having a problem with After Effects. Every time I'

  • Another Apple TV not showing up in iTunes...

    Ok, this is the config: Apple tv Software 1.1, iMac Intel 07/2007 with OS X 10.5.1, iTunes 7.6. All of a sudden the Apple tv did not show up in iTunes anymore (after working perfectly before). I have another MacBook and a Windows Vista System, both h

  • [Solved] Can't add my Google account to GNOME 3.2 anymore!

    A few days ago I started getting a notification about my Google password being expired(inside GNOME online accounts). So I went there to re-enter it but I couldn't, so I deleted the account to recreate it again. From that point I couldn't get it to s

  • Apple Remote Desktop - Users constantly appear and disappear in All Computers List

    I have a problem and I am thinking it is probably some kind of broadcast error on my network, but why not question Apple Remote Desktop in the process? Computers seem to flicker from available to unavailable. I think they are actually on. If I send a

  • App issue, won't let me purchase

    I'm trying to get this app Ventrilode for my friend's iPod Touch 4g and won't let me purchase. I got the money for it and the iPod is running on iOS 6.0.1 and got about 5GB memory left (from uploading music) but it won't let me get the app. I try usi