Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Not enought memory to indent file
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Nauscar




PostPosted: 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. Very Happy
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Sat Apr 04, 2009 4:24 pm   Post subject: Re: Not enought memory to indent file

Yes you could

import or more likely include

Although, such an error could be a clue that you have a problem with your design.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
andrew.




PostPosted: 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




PostPosted: 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 Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
SNIPERDUDE




PostPosted: 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




PostPosted: 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




PostPosted: 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
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 7 Posts ]
Jump to:   


Style:  
Search: