Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

on a solaris 8 server with a specific workload, how do i turn on memory overcommit (à la Linux) ?

# Memory size: 65536 Megabytes
sun[root] # vmstat 1
procs     memory            page            disk          faults      cpu
r b w   swap  free  re  mf pi po fr de sr m0 m1 m1 m1   in   sy   cs us sy id
0 0 0 30679520 38600344 123 318 941 0 0 0 0 4 0  3  0 7640 11016 7196 5  2 93

sun[root] # swap -s
total: 18808072k bytes allocated + 48426552k reserved = 67234624k used, 972480k available

sun[root] # swap -l
swapfile             dev  swaplo blocks   free
/dev/md/dsk/d1      85,1      16 33560432 33556592


share|improve this question
up vote 1 down vote accepted

It seems that Solaris is not supporting memory overcommit with the normal malloc() function but with mmap(MAP_NORESERVE). There is a nice newsgroup article about that including a link to the official Sun source.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.