HELP: ld: fatal: file /dev/zero: mmap anon failed: Not enough space

Trying to build a debug version of our code using Solaris 10 and SunStudio 12, and we get this error:
ld: fatal: file /dev/zero: mmap anon failed: Not enough space
Any idea?
The ld process grows to ~4GB then dies.
The compile server has plenty of memory and swap available.
Any idea? Our program is getting quite large, but I am sure there are larger ones out there.

The only suggestion I have is to switch to stabs debug format (-xdebugformat=stabs compiler option) and don't specify -xs so that most of debug info is stored in .o files. Maybe it'll save some linker address space. Other than that, try asking on linker forum:
http://www.opensolaris.org/jive/forum.jspa?forumID=63
I know that it's a hot topic and you will probably get an answer as soon as someone from linker team take a look.

Similar Messages

  • Help: startup-config file open failed (Not enough space)

    Who can help me ? I've an uc500 and he stil running. Now i want to change something and want to save the configuration first. But the following message appears : startup-config file open failed (Not enough space)
    this is the output from a dir flash:
    Directory of nvram:/
      227  -rw-       25897                    <no date>  startup-config
      228  ----        1933                    <no date>  private-config
      229  -rw-       25897                    <no date>  underlying-config
        1  ----          83                    <no date>  persistent-data
        2  -rw-           0                    <no date>  ifIndex-table
        3  -rw-         577                    <no date>  IOS-Self-Sig#1.cer
        4  -rw-         615                    <no date>  IOS-Self-Sig#2.cer
        5  -rw-         660                    <no date>  vlan.dat
        6  -rw-         107                    <no date>  cca.xml
        7  -rw-         586                    <no date>  IOS-Self-Sig#3.cer
    262144 bytes total (227094 bytes free)

    OK.
    Try this:
    conf t
    service compress-config
    And see if that helps. 
    If not, see if you can tftp the running config off the router and TFTP it back to startup-config:
    copy run tftp
    copy tftp start
    Then you can try a reload and see if it is cured.
    I googled and found a few cases where alot of ACLs or NAT rules could cause MALOC errors (you would see those in your logs) when implemented and could manifest itself in this condition, which could be cured after the next reload, which is why I suggested that.
    Of course, dont be remote when you do this and only do it during a maintenance window.
    Steve

  • I recently took my imac in for a recall on the hard drive, they replaced my hard drive, i used time machine to restore all my files. Now when I turn time machine on it says back up failed not enough space, it is not overwriting old back ups.

    I recently took my imac in for a recall on the hard drive, they replaced my hard drive, i used time machine to restore all my files. Now when I turn time machine on it says back up failed not enough space, it is not overwriting old back ups. Why? Please help

    http://pondini.org/TM/FAQ.html

  • /dev/zero:mmap failed and out of space problems

    Hi All
    I have a sun-Fire v240 with Solaris 10. Created 4 zones and trying to running our application software in each of the zones. After running the applications for some time, in some of the zones one application process gets /dev/zero:mmap failed message and aborts. Also when the Java VM tries to start it is not able to allocate object heap space and aborts and causes the zone to reboot. I tried by increasing maxusers but to avail.
    Please help.
    Regards

    Hi,
    If Outlook is running in the cached mode, please run it in the online mode to check the results again.
    If the problem persists, try to refresh the free/busy information by running Outlook with the /CleanFreeBusy command-line switch on the computer that is experiencing problems publishing free/busy
    information. To do this:
    ================
    1. 
    Click Start > Run.
    2. 
    In the Open box, type the command and press Enter:
    outlook.exe /cleanfreebusy
    At the same time, you can also post this issue in the Exchange server forum to see if they have better idea:
    http://social.technet.microsoft.com/Forums/en-US/exchangesvrgeneral/threads
    Best Regards,
    Sally Tang

  • Consolidate Library, Not enough Space, itl files, genuius, external drive,

    In the interest of putting something back, thought I would post this
    Objective
    To have a single iTunes Library, on a Server PC, (Windows Home Server) so that if a change is made while on PC (a) or PC (b) we see the change.
    Setup
    PC (a) living room
    PC (b) kitchen
    Windows home server, on 24 x 7
    In doing this I made a number of errors, and hope you learn from this, and also found a couple of 'features' that made life harder.
    Standard approach
    1) in iTune preferences, alter the position where you want to store your data, so this could be
    //Server/Music/iTunes/Alison/Library
    You need the subdirectory as the Library is where your itunes will reside, and your internal itunes file one directory up.
    This process will change pointers in te internal itunes files, but still references the music in the various locations it is stored.
    2) Now go to the File Menu/ Library / Consolidate Library
    This will move all your music to teh location you specified above.
    At this point I ran into my first problem, despite having adequate space on the Windows Home Server (WHS) I would get the error 'not enough space to copy files'
    I believe the reason I was getting this error message was that some of the files paths were over 256 chat in length. There is also a limitation in WHS on this, but I believe the issue in this case was with iTunes, not WHS.
    To get around this issue, I changed the location of where I was going to consolidate all the files to, to an internal disk on the PC where my itunes library was. so Instead of;
    //Server/Music/iTunes/Alison/Library
    I used m:/iTunes/Alison/Library
    This worked, so I had all my data (now duplicated effectively, but consolidated) on the same PC.
    The reason people say use consolidate is that it makes the move easy and changes all the internal files, but as I couldn't consolidate to the location I required due to the error, I now have to move all the rest of the data manually.
    3) Copy the Library file on the local PC drive to the WHS Library Directory;
    Copy m:/iTunes/Alison/Library => //Server/Music/iTunes/Alison/Library
    4) I then edited the internal itunes files, so that it pointed to the WHS server location. I edited the itunes internal file;
    Settings\Alison\My Documents\My Music\iTunes\iTunes Music Library.xml
    I did this in notepad, with a find and replace command,
    Find 'm:/'
    Replace '/Server/Music/
    The above bit does require some thought and if you have made it this far, have a look at the xml file structure, and you will be able to figure out how to alter the path.
    This has the effect of pointing the iTunes file at where the music is now stored, you can confirm this by starting iTunes and getting it to show the track it is playing in Explorer. If it is pointing at your new location you are good to go.
    Remember I only had to do this, as I was unable to consolidate to the location I really wanted to go to, due to the space error.
    Also note that I had 2gb memory on the machine I did the find and replace on, as Notepad is not memory friendly.
    5) Apple has some other internal files that need to be corrected as well;
    iTunes Library.itl
    iTunes Library Genius.itdb (if running genius)
    iTunes Library Extras.itdb (believe is genius related)
    sentinel (no idea, but saw this file !)
    To get these all corrected to the new WHS (or external drive) I created a iTunes Library.itl file with zero bytes in the directory Settings\Alison\My Documents\My Music\iTunes\, did this in notepad. I then started iTunes, and it created all of the above files with the new file locations. You can't edit the above files, apple encrypts them
    6) you now move all of the corrected internal files to the WHS home server location;
    //Server/Music/iTunes/Alison
    iTunes Library.itl
    iTunes Music Library.xml
    iTunes Library Genius.itdb
    iTunes Library Extras.itdb
    sentinel
    7) Now you repoint the itunes to the new location for the internal files, specifically the correct itunes library, there are a number of references on the net to do this that you press the shift key(PC) or the option key (Mac)
    I am running a PC, and pressing the shift key while clicking on the itunes icon on the desktop does not work. You have to hold the shift key while starting itunes from the Start Menu, Programs, Itunes. This will then give you an option of which library to look at, and look at the library on the WHS drive (or external drive)
    Thats it
    Hope this helps someone who has to battle with iTunes like I did. Due to the variosu errors, size of the library (200gb) and other issues, whole process took 2 days, if doing this again would have taken a couple of hours.
    DGW

    Hiya, that's sweet to post what you went through!
    I have a question, though - are you able to have both PCs running itunes at the same time?
    When I try this, I get an error message that the ITL file is locked on the 2nd instance I try to open. I'm using an exHD, not a server.
    Also - all that editng of the XML file doesn't save ratings, date added, and some other metadata. If you'd just moved the ITL file, that metadata would be intact.

  • Transferring lots of small files to a USB - not enough space when there is!

    I regularly transfer about 200-250 files (photos of about 1.2MB each) to a USB (size 2GB). I really want to just "Select All" then drag them onto the USB, but if I do this, I get the error message that there is not enough space. I end up having to select about 40 files at a time and drag each group, wait for them to transfer, then drag the next group. This turns a 2 second job into a 3-5 minute job. On of my iMacs has just started allowing me to do even less - only about 10 at a time, turning this job into a 10-15 minute job. I have discussed this with my USB provider, his only suggestion is I use a Windows computer, as he specifically tests the USBs he sends me for this error, and he does not have a problem with several different Windows computers! I usually import the photos with iPhoto then drag in, but it doesn't seem to matter if I take them straight off the SD card, I get the same error no matter which system I use. Please help! I sometimes need to do this 40 times in a day for 40 different customers.

    I'm taking the photos OFF an SD card (straight from the camera) and need to get them ON to a USB drive. Taking the photos OFF the SD card is no problem. I either import to iPhoto, or drag them all into a file, no problem. It is getting them ON to the USB where there is the problem.
    Thanks, hope this clarifies what I meant!

  • After accepting update to my time capsule, I can no longer complete a backup because there is not enough space.  I tried deleting old files, but it doesn't seem to work.  Any advice:

    My time capsule was updated through an apple download update on June 16, and now I cannot back up my computer.  The message is that there is not enough space.  I tried deleting my files, but it didn't help.  any suggestions?

    How much space is there according to airport utility?
    TM can be fussy.. Do a factory reset of the TC and give it a new name. Use short, no space and pure alphanumeric type names..
    And reset TM. See A4 here. http://pondini.org/TM/Troubleshooting.html
    Then set up TM again to the TC and see if TM will start .. the reset will not hurt the backup and TM can still find it on a renamed TC.

  • I get error message: not enough space to download when I try to buy a tv series on Itunes. It tells me to delete photos or videos to make space, but I have no photos and videos. Help?

    I get error message: not enough space to download when I try to buy a tv series on Itunes. It tells me to delete photos or videos to make space, but I have no photos and videos. Help?

    I would guess that a TV series takes up a fair amount of storage capacity. It is just a standard message I think that may indicate that you are actually running low on storage space.
    If you go to Settings>General>About how many GBs are specified as being available?  If you are low on space maybe deleting some apps may help.

  • I am trying to download Final Cut Pro, but it keeps telling me there is not enough space on my hard drive even though there is. Help?

    I am trying to download Final Cut Pro, but it keeps telling me there is not enough space on my hard drive even though there is. Help?

    I realized that my laptop only has 2GB of memory. It's a MacBook Pro 13in bought in 2009. Is it true that I'm able to upgrade up to 8GB of memory. Seems like 4GB of space is a lot for a single program to be running.. A bummer I'll have to save up for more memory.

  • HT201413 I have a windows HP computer with windows 7 installed, when I try and update and restore my phone, I get an error message of there is not enough space on your computer to restore your phone. Any suggestions and help is appreciated.

    I have a windows HP computer with windows 7 installed, when I try and update and restore my phone, I get an error message of there is not enough space on your computer to restore your phone. Any suggestions and help is appreciated.

    You need to discard or save to an external disk and then discard some of the stuff we all tend to keep forever (movies, music, pictures, docs, apps no longer used, etc.). A clogged up disk also does not function ideally either.

  • I transferred my files, including iTunes, to a new computer. When I go to sync, it says I'm still synced with the old, do I want to erase and resync. AND then it says not enough space. What to do?

    I transferred my files, including iTunes, to a new computer. When I go to sync, it says I'm still synced with the old, do I want to erase and resync. AND then it says not enough space. What to do?

    Pictures, assuming they were taken with the device, can be copied off at any time.  This has nothing to do with syncing.
    If the pictures were instead synced to the device via iTunes, they are not the original images.  Instead, they are optimized copies of the originals for display on the iPhone.  There is software that can extract them, google it.
    Where is the backup of the computer?  And before you ask, the iPhone, like all iDevices, is not and has never been a backup device.

  • I had a repair done at the apple store where the replaced my hard drive and copied my other hard drive over to the new one.  Everything is fine except the time machine wont reconnect to my old file and is trying create a new file but not enough space?

    I had a repair done at the apple store where the replaced my hard drive and copied my other hard drive over to the new one.  Everything is fine except the time machine wont reconnect to my old file and is trying create a new file but not there is not enough space for both files files? Do I need to do something to have it continue to update my old file instead of recreating a new one?

    Depending on what version of OSX you're running, and how the data was transferred, you may be out of luck.
    If you're running Lion, and your backups were made to a directly-connected external HD (ie, not a Time Capsule or other network location), you may be able to get Time Machine to "associate" the new disk with the old backups.  See #B6 in Time Machine - Troubleshooting, especially the pink box there.
    If you're running Snow Leopard, you might be able to do a full system restore of your backups to the new HD.  See Time Machine - Frequently Asked Question #14 for detailed instructions.  That should leave a "trail" that Time Machine can follow to "associate" the new drive with the old backups.  Unfortunately, that doesn't always work, and there's no way to do it manually, as there is with Lion.

  • TS3682 i plug in my iphone 4 and i loss all contact... i try to backup restore but its error say not enough space.  please help me. i want only my contact backup restore not everything. so i dont know how can i do ?

    i plug in my iphone 4 and i loss all contact... i try to backup restore but its error say not enough space.  please help me. i want only my contact backup restore not everything. so i dont know how can i do ?

    Try to connect in recovery mode to restore, without using the latest backup, explained here:
    iOS: Unable to update or restore

  • I tried to import a video into iMovie. Its says their is not enough space on the destination disk. I deleted many projects, and events. Nothing changed. What files do I delete and how?

    I tried to import a video into iMovie. Its says their is not enough space on the destination disk. I deleted many projects, and events. Nothing changed. What files do I delete and how?

    Hard drive full or near full:
    You are going to have to delete, move or archive your data to regain hard drive space.
    Have you emptied your iMac's Trash icon in the Dock?
    If you use iPhoto, iPhoto has its own trash that needs to be emptied, also.
    If you use Apple Mail app, Apple Mail also has its own trash area that needs to be emptied, too!
    Other things you can do to gain space.
    Delete any old or no longer needed emails and/or archive older emails you want to save.
    Look through your Documents folder and delete any type of old useless type files like "Read Me" type files.
    Again, archive or delete any old documents you no longer use or immediately need.
    Uninstall apps that you no longer use. If the app has a dedicated uninstaller, use it to completely uninstall the app. If the app has no uninstaller, then just drag it to the OS X Trash icon  and empty the Trash.
    Download an app called OnyX for your version of OS X.
    When you install and launch it, let it do its thing initially, then go to the cleaning and maintenance tabs and run all of the processes in the tabs. Let OnyX clean out all web browser cache files, web browser histories, system cache files, delete old error log files.
    Typically, iTunes and iPhoto libraries are the biggest users of HD space.
    If you have any other large folders of personal data or projects, these should be moved, also, to the external hard drive and then either archived to disc and/or deleted off your internal hard drive.
    You may have to Purchase an external FireWire or Thunderbolt hard drive to move these files/data off of your internal drive to the external hard drive and deleted off of the internal hard drive.
    Good Luck!

  • HT1689 I am unable to sync my Ipod touch  due to not enough space ? I delet bunch of podcasts from my ipod  still not downloading ? help pl.

    im unable to sync my ipod touch due to not enough space ? even after i deleted bunch of podcasts  from it ? help pl.

    - When you deleted them did the requested amount of storage space decrease?
    - Try resetting the iPod. Nothing is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - When you look at the colored bargraph of storage usage on the iPod in iTunes how much is taken up by "other". If greater than about 3/4 GB then restoring from backup usually reduced the "other".

Maybe you are looking for

  • Iphone 5 back camara not working after ios update

    My Iphone 5 back camara is not working after ios 8.1 update this morning Only getting some fuzzy image. Camara was working before the update. Resting the phone to factory setting restoring phone nothing seems to work I think this will be my last Ipho

  • PO creation Date and Invoice creation Date

    Hi, Can any one help me regarding which table I can look for PO creation date and Invoice creation date. I require these fields for my reporting requirement. Thanks in advance, Arvind.

  • How to define Tax Sequence

    Dear All, When I am trying to go to tax payment wizard, it is asking me for sequence. However, when I am trying to define sequence. After clicking on Sequence-Setup, I am trying to Assign Sequence to Document. For example I am on AR Invoice Sequence

  • Can I create a shortcut for Notes in my Dock?

    I love the Apple Notes App on my iPhone because it has the ability to sync seamlessly with my MacBook Pro. I prefer to use the Apple Notes App cause they sync seamlessly for me between devices (I don't want to use another program like Sticky Notes or

  • Share disk via WAN

    hi there, I want to use the files on the disk in my Time Capsule when I'm not at home, so not directly connected to the Time Capsule. I enabled the option to share disks via WAN, but I was wondering how to connect to the drive over WAN? (I want to us