in reply to Temporary usage of RAM memory
No, memory doesn't work like that.
The computer program that is called operating system generally restricts allocating memory (often RAM) only to running processes
So to persist RAM allocation past the life of your program, you need another constantly running program , a daemon / service, one specifically designed to persist RAM allocations ... like shared memory
And you need a special interface to communicate with said memory keepalive program, like IPC::ShareLite, Apache::SharedMem, IPC::Shareable
You don't need to use mysql, you can use a regular file with proper flocking
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Temporary usage of RAM memory
by thanos1983 (Parson) on Apr 11, 2014 at 08:34 UTC |