Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
justin023

Very Bad Memory Usage

Recommended Posts

I have this problem that happens a lot in the script editor window. When I type something really long like a string or an array, it starts slowing down really bad. I looked at it with the task manager and when I press a single key the cpu usage goes from around 2% to 100%. The letters show up about 10 times slower than I type them. If i typed a lot it will stay 100% until they are all done showing up.

Share this post


Link to post

Doesn't sound like memory usage to me. Sounds like a horribly inefficient algorithm is being used to implement syntax highlighting -- like a linear search over a set of keywords for every single token in the file maybe?

Share this post


Link to post

I have problems with this too, and I can't bear to go without syntax highlighting (because I use it to make sure I entered a command correctly - I am a scripting inept and have many problems with this kind of stuff).

Share this post


Link to post

I have never experienced the problem, not with the latest script editor, could you specify what system you are using?

Share this post


Link to post

CodeImp, what are your system specs.
Mine, and I have this problem (maybe a don't highlight feature)

Microsoft Windows XP Professional
Version 2002
Service Pack 2
1.80 GHz, 1.00 GB of RAM

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×