memory management - avoid swapping/paging
Alain Ketterlin
alain at dpt-info.u-strasbg.fr
Thu Oct 21 08:35:06 EDT 2010
More information about the Python-list mailing list
Thu Oct 21 08:35:06 EDT 2010
- Previous message (by thread): memory management - avoid swapping/paging
- Next message (by thread): memory management - avoid swapping/paging
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jon Clements <joncle at googlemail.com> writes: > Is there a cross-platform way using Python to guarantee that an object > will never be swapped/paged to disk? I'll be honest and say I'm really > not sure if this is a particular language question or rather specific > to an OS. > > Under linux it appears I could create a ramfs and mmap a file under > that. Is there a way to do the above with mmap? It's called mlock() -- Alain.
- Previous message (by thread): memory management - avoid swapping/paging
- Next message (by thread): memory management - avoid swapping/paging
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list