Out of memory Error on opening a large Package for editing

hi ,
I am using toad for oracle 10.6.0.42.
Oracle version : 11g.
Laptop RAM : 4GB

I have a package with 23K Lines of code and when i try to edit the package or try getting theexecute script i run in to continous memory errors until i close toad.Is there any setting that will help in this case.
I have tried setting the OCI Array buffer size to 25 it is not helping much. I still get the Out of memory errors every now and then.

Any help on this is greatly appreciated.

Thanks

Message was edited by: 4LIT