--- El jue 13-oct-11, Mulyadi Santosa mulyadi.sant...@gmail.com escribió:
this is what I am not clear, do those 10 threads allocate 8
MB each?
or 8 MB total? remember that threads share address space by
default...
I am sorry maybe I explained myself incorrectly, threads don't actually
Hi :)
2011/10/13 Ezequiel García elezegar...@yahoo.com.ar:
--- El jue 13-oct-11, Mulyadi Santosa mulyadi.sant...@gmail.com escribió:
this is what I am not clear, do those 10 threads allocate 8
MB each?
or 8 MB total? remember that threads share address space by
default...
I am sorry
--- El jue 13-oct-11, Mulyadi Santosa mulyadi.sant...@gmail.com escribió:
I am sorry maybe I explained myself incorrectly,
threads don't actually
allocate anything; just mmap it's own stack space (8MB
each).
I see, so 8 MB each and since you created 10 threads, I
suppose
that would
hi again :)
2011/10/14 Ezequiel García elezegar...@yahoo.com.ar:
Reading sources I think kernel let the process create several
threads because as there is no real memory usage, the amount of free pages
on each thread allocation is the same.
I agree, as long as Copy on Write hasn't kicked
Hi :)
2011/10/12 Ezequiel García elezegar...@yahoo.com.ar:
Initially, you requested 8 MB. Knowing that you had 9 MB
free RAM, I
think you got ENOMEM since that would just leave 1 MB and
quite likely
that is under safe minimum free RAM allowed. I roughly
recall that
somewhere around 2-5% of
Hi,
I have a SH4 board:
$ uname -a
Linux LINUX7109 2.6.23.17_stm23_A18B-HMP_7109-STSDK #1 PREEMPT Fri Aug 6
16:08:19 ART 2010
sh4 unknown
and suppose I have eaten pretty much all the memory, and have only 9 MB left
(aprox.)
$ free
total used free sharedbuffers cached