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
SUBSCRIBE TO OUR NEWSLETTER
C74 RSS Feed | © Copyright Cycling '74