Can't mmap anonymous memory

Hello all,
Yesterday I could not run 'sort' command from shell:
root> cat foo.txt | sort
sort: can't mmap anonymous memory: Resource temporarily unavailable
where foo.txt is a text plain file:
root> ls -la foo.txt
-rw-r--r-- 1 root root 6443 Feb 25 15:07 foo.txt
I have two questions:
1. How can I fix this temporary issue ? (2 minutes after, I successfully run the command without error)
2. How can I increase the /tmp swap area in Solaris 10 (SWAP 2 GB, RAM 4GB)?
Here below is the detailed info of my OS:
OS: Solaris 10 10/09 s10x_u8wos_08a X86
SWAP area: zfs list
rpool_hera/swap 2G 196G 243M -
hera:root>df -k -F tmpfs
Filesystem kbytes used avail capacity Mounted on
swap 236964 588 236376 1% /etc/svc/volatile
swap 241312 4944 236368 3% /tmp
swap 236420 52 236368 1% /var/run
I want to increase my /tmp swap at least 512Mbytes.
Any help would be appreciated.

benarson wrote:
Hello all,
Yesterday I could not run 'sort' command from shell:
root> cat foo.txt | sort
sort: can't mmap anonymous memory: Resource temporarily unavailableFirstly, why are you performing such mundane tasts as root? I'd strongly advice you to login as a regular user, and look into profiles and pfexec for running tasks with privileges.
Secondly, you're doing that backwards.
sort foo.txt
would be more efficient.
where foo.txt is a text plain file:
root> ls -la foo.txt
-rw-r--r-- 1 root root 6443 Feb 25 15:07 foo.txt
I have two questions:
1. How can I fix this temporary issue ? (2 minutes after, I successfully run the command without error)
2. How can I increase the /tmp swap area in Solaris 10 (SWAP 2 GB, RAM 4GB)?man swap
I'm not so sure about zfs swap, perhaps
zfs set quota=1G rpool_hera/swap
Paul

Similar Messages

  • Can I install more memory on a mac mini

    Can I install more memory on a mac mini?

    Welcome to Apple Support Communities
    Of course. You can upgrade the RAM always that you do not have a Late 2014 Mac mini (I am not sure that you can install more RAM, and if you can, it will void the warranty), and you can purchase more RAM at OWC or Crucial.
    See -> Mac mini: How to remove or install memory - Apple Support

  • How can I add more memory to my iPad?

    How can I add more memory to my iPad?

    Memory refers to RAM, and can't be increased.
    I asume you mean storege space (like 16GB, 32GB, etc). It also can't be increased.
    There are some wireless external hard drives that can be used with the iPad.
    The Kingston Wi-Drive, which costs $50 for the 16 Gigabyte, and then $30 more for every 16 gigs more. It works by you turning it on and then accessing the files on it from an app that you download on your iDevice. You can access music, movies, and other stuff. No connections or anything, it works like a WiFi connection, you connect to it from the setting on the iPad under wireless networks.
    Then there is the Seagate GoFlex, which some would recommend over the Wi-Drive. But this one costs $199 and had 500 Gigabytes of storage. It works the sameway as the Kingston: no wires, runs over its wireless connection. You can actually fit up to 300 HD movies on it.
    Another option:
    Expand your iPad's storage capacity with HyperDrive
    http://www.macworld.com/article/1153935/hyperdrive.html
    On the road with a camera, an iPad, and a Hyperdrive
    http://www.macworld.com/article/1160231/ipadhyperdrive.html
     Cheers, Tom

  • How can I add more memory to my iPod touch

    How can I add more memory to my iPod touch?

    You are not able to add memory to a iPod Touch.
    The only way to get more memory is to buy one with a larger capacity.

  • Can i add more memory to my macbook pro?

    It currently has 4 GB installed. Can I add more memory?

    Which model MBP do you have? 15" late 2011, for example.
    Go to the Crucial website and use the System Scanner tab to determine which upgrades are available for your model - you don't have to buy from Crucial, but they do offer some of the best RAM for Macs available.
    Good luck,
    Clinton

  • My macbook air has no longer free memory. Now, when i turn it on, all i can see is a blue landskape and can`t see de dock anymore. how can i clean the memory and get free space?

    hi, my macbook air has no longer free memory space. I haven`t done anything since it started to comunicate me that. now when i turn it on all i can see is de apple on the top left corner and the rest of the monitor is blue. how can i get some memory space since i can`t even onpen the finder?/

    Choose Preferences from the Finder menu, click on the General tab, and uncheck the box to open folders in a new tab.
    (117195)

  • Have MacBook Pro (ancient) has 2.16 Ghz Intel Core Duo with 1 GB 667 MHz RAM using OS 10.4.11. Can I upgrade OS? If so, how far? And can I add more memory? I realize this is an old laptop but I need to wait to upgrade to new.

    Have MacBook Pro (ancient) has
    2.16 Ghz Intel Core Duo with
    1 GB 667 MHz RAM
    using OS 10.4.11.
    Can I upgrade OS? If so, how far?
    And can I add more memory?
    I realize this is an old laptop but I need to wait to upgrade to new.

    if it is the core duo, mac OS X 10.6.8., max ram 2gb.

  • I deleted all my photos and videos and then delete the deleted files but the photo app is still taking up 12 GB of space and I have no room for new stuff.  How can I clear the memory space used by my deleted videos and photos?

    I deleted all my photos and videos and then delete the deleted files but the photo app is still taking up 12 GB of space and I have no room for new stuff.  How can I clear the memory space used by my deleted videos and photos?  I don't know why the photos are still taking up space and if I will have to reset my phone to get rid of the problem.

    Hey there TowneJ,
    Welcome to Apple Support Communities.
    The article linked below provides troubleshooting tips that’ll likely resolve the issue that you’ve described, where deleted files appear to be taking up space on your iPhone 5.
    If you get a "Not enough free space" alert on your iPhone, iPad, or iPod touch - Apple Support
    So long,
    -Jason

  • If i can't increase the memory on an iphone, how do i NOT upload my entire itunes library?

    hi,
    i'm new to this whole smartphone thing.  but i've run into this frustration and can't seem to find my way around it.
    every time i hook up my phone - iphone 4 - to my computer - macbook 10.7 - they try to sync, and now i don't like having them both on the same wifi because they 'update' behind my back.  i don't want 3 days worth of music on my phone.  i would rather have more room on the phone for other stuff - apps and whatnot.
    i've set every checkbox i can find to NOT sync, and to NOT update, but  they do it anyway.  the songs that haven't been copied in their entirety  have left a place-saver of sorts - a ghost that seems to interfere with  playback of songs in a modified album, or if i just try to play from  the library - which i do, sometimes.
    someone on another post said that since you can't upgrade the memory on an iphone, that they should just delete some music, but it doesn't seem to let me - it puts it there without my permission, and even now that i've deleted all the music from the phone, the library is still full of all these 'ghost' songs that i don't know how to be rid of.
    thanks,
    nate.

    Now, one at a time:
    On Mac:
         Do you have the latest iTunes 11.0.4? If not download it here http://www.apple.com/support/itunes/
         Switch on  iTunes menu > View > Show Sidebar
         Connect and select iPhone under DEVICES in iTunes Sidebar.
         Go through the tabs (top right pane) Summary, Info, Apps, etc.
         and select and de-select what you want on iPhone.
         When finished, click Apply button (bottom right) and then click Sync.

  • Can i use 2gb memory in one slot in my 2006 Mac mini as the 2 slots of 1gb only reports only 1gb memory, both memory work ok in the one slot

    Can I use 2gb memory in one slot in my 2006 Mac mini as the 2 slots of 1gb only reports as 1gb memory, both memory work ok in the one slot as I have swapped them over

    To my knowledge 1GB modules are the max. size for the 2006 Mini.
    2GB modules are not recognized/useable.
    Sorry
    Stefan

  • Where can i buy original memory for my macbook pro 13inc mid 2012 and how much is this ?

    Where can i buy original memory for my macbook pro 13inc mid 2012 and how much is this ?

    "Memory sold by the Apple Online Store is guaranteed to be compatible with your Macintosh."
    http://store.apple.com/us/mac/mac-accessories/memory
    Other than Apple there are only two vendors with which I have personal experience and can recommend: Crucial and OWC. People have reported problems with many other brands, yet Crucial and OWC's prices are as good as any you are likely to find.
    Go to Crucial and download the little app that examines your system and recommends RAM upgrade options.
    Their prices are good but don't have to buy memory from them - determine what you need and buy it from Crucial or OWC / MacSales. You'd be paying Apple a lot more than either one of them, and you don't have to. 

  • Can I add more memory to a MacBook Pro after purchase?

    What can handle the most memory (RAM?) and speed - MacBook Pro or iMac?  I'll be using Adobe Creative Suite 6.  I prefer MacBook Pro because of portability, but don't know how it compares to iMac in memory and speed.  Thank you.

    The only currently produced MacBook Pro with user-replaceable memory is the entry level, non-Retina model.
    The only currently produced iMac with user-replaceable memory is the 27" model.
    The MacBook Pro can address as much as 16 GB RAM (though that configuration is not available from Apple).
    The iMac can address as much as 32 GB.
    Creative Suite 6 will work fine on either one but the iMac is by far the more capable of the two models.

  • Can i get more memory as i only have 1 gb as my mac is 4 year old

    can i get more memory for my mac pro as its only 1gb 10.6.8 version

    you want to ask in the macbook pro forum I assume.
    regardless, yes you can and the model year (2008?) or MacBook Pro X,Y (number)
    www.macsales.com/memory is a good place to check what is available.
    I thought 2GB was req'd and 4GB would be strongly recommended for 10.6 and above.

  • Can you use a memory stick or card with a mini 2

    can you use a memory card or stick with a mini2

    You can't use Memory Stick or card.
    Use Wireless Flash Drive.

  • Hello, i am wondering if there is any way i can expand my ipad memory y using an SD card,

    Hello, i am wondering if there is any way i can expand my ipad memory by using an SD card, i would like to put some pics but mainly music onto it to free up alot of my memory space and even APPS if that is possible, i am aware u can use Camera Connection kits, to that my question would be can i also store music on there, i also am away u can get an external wifi hard drive but id like to steer away from that as it is a shared WIFI unit and im sure id upset alot of people if i was to take that option

    dirtee_deedz wrote:
    Last of my questions, will any wireless flash drive be compatible with my ipad or no??
    That's a broad question - it's possible that other wireless flash drives may work, but it is doubtful that all of them will. I am mostly familiar with AirStash, and it has been around for a long time. There are also portable wireless hard disk drives such as the Seagate Wireless Plus or SSDs such as the Kingston Wi-Drive. You have plenty of options to consider.

Maybe you are looking for

  • What is involved outside my house with an Infinity...

    Hi Folks, After looking over the very basic BT website and chatting with a customer care person on their live chat service, I was led to believe that for a new install of an Infinity FTTC set up, it would just entail the engineer changing over the fa

  • Error in picking files from FTP Site

    Dear All, I m using one communication channel of type FILE to pick the files from a FTP Site. Yesterday, the communication channel stopped picking the files from the FTP site. I checked the adapter in the Adapter Monitoring and it was green and was s

  • The Business Opportunity for All Flash FAS: A Q&A with Bill Lipsin

    In advance of today's flash announcement, we sat down with Bill Lipsin, VP Worldwide Channel Sales, NetApp to get his perspective on the news for partners.

  • T530 combined audio port questions

    Hi all, My girlfriend is trying to learn swedish with rosetta stone and we've heard a good mic helps pick up the nuances when repeating stuff back to the software. I happen to have an array mic sitting on a shelf so I thought I'd hook it up for her,

  • Oracle Time and Labor in OBIA

    Hi All, Can anyone confirm Oracle Time and Labor (OTL) dashboards (or data) is available in OBIA? I'm just wondering whether HR analytics contains those data. Thanks for the help. Nilaksha.