in reply to Sharing a 300MB variable.

can I hold the file cached in ram through the OS,

The OS will automatically cache the file. But I dont know that that will be useful to you. But I wonder if you have considered setting up a RAM drive. It sounds like this may be a suitable solution.

HTH

--- demerphq
my friends call me, usually because I'm late....