Or should I switch to another programming language ?
No – user-allocation of memory to one process or another (let alone a programming lang?) is not a feature of modern OSes, thank $deity.
You would probably be better off to handle your text file as an array of Strings, allocating one line of text to each string. Or reading in a couple of kB at a time.
Log in to reply
Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.