Posted: Sat Apr 04, 2009 4:20 pm Post subject: Not enought memory to indent file
When I try to indent my code I get a window saying "Not enought memory to indent file"
I think I have too much code and the file is too big.
Any solutions to this problem? Can I import the code from another turing file into this one?
Help would be much appreciated.
Sponsor Sponsor
Tony
Posted: Sat Apr 04, 2009 4:24 pm Post subject: Re: Not enought memory to indent file
Posted: Sat Apr 04, 2009 4:39 pm Post subject: RE:Not enought memory to indent file
This means one (or more) of your lines are really long. See if you can split it or make it shorter. I think certain lines can be split by adding the new line right after a comma.
Dan
Posted: Sat Apr 04, 2009 6:16 pm Post subject: RE:Not enought memory to indent file
I remember back in the Turing 3.1 days this error would some times come up for even rather small lines and code files. So i think there is likely a bug in the Turing IDE that can cause this (or at least there was) as well as not having enough memory.
There was also an issue where each time you auto indented the file it would add an extra line between two other lines for seemingly no reason.
It might help if we could see your code to see if we get the same issue on diffrent systems. (Tho if you file is very long you likey could have bad design as tony pointed out.)
Computer Science CanadaHelp with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
SNIPERDUDE
Posted: Sat Apr 04, 2009 10:39 pm Post subject: RE:Not enought memory to indent file
Turing always runs into memory issues. Not exactly the best language for that. Even if you have too many images saved or even sometimes doing screenshots (Pic.New) a couple times within the programme will make it run into a memory error.
Nauscar
Posted: Sun Apr 05, 2009 7:49 pm Post subject: RE:Not enought memory to indent file
yeah i have bad design probably. I am only using methods i learned in class (very basic).
copthesaint
Posted: Mon Apr 06, 2009 7:39 am Post subject: Re: Not enought memory to indent file
SNIPERDUDE wrote:
Turing always runs into memory issues. Not exactly the best language for that.
lol It's not the best Language for anything!
Also Longer "If" statments are normally the cause of the problem. using many ands in one if statement can occasionally cause the error to occur