Home Download Buy Blog Forum Support

ST3 using more than half my memory?

ST3 using more than half my memory?

Postby Submerged on Fri Feb 01, 2013 8:20 pm

I'm not sure if this is a bug or normal behaviour of ST3.

I am using ST3 for a java project. Although this java project has several large directories (>1GB), the actual source code is 0.5MB total. It's almost as though ST3 is caching my files through threads so they open faster.

My computer only has 4GB of ram and ST3 is using 2393.9 MB of it. Please see my screenshot below
Image

It gets so bad that my system locks up on occasion.
Submerged
 
Posts: 5
Joined: Mon Jan 21, 2013 2:21 am

Re: ST3 using more than half my memory?

Postby Submerged on Fri Feb 01, 2013 8:32 pm

I more or less fixed my problem by using an exclude_pattern directive

"folders":
[
{
"folder_exclude_patterns": ["serializedWorkResponses"]
}
],
Submerged
 
Posts: 5
Joined: Mon Jan 21, 2013 2:21 am

Re: ST3 using more than half my memory?

Postby jps on Sat Feb 02, 2013 1:04 am

What type of files make up the 1GB?

The indexing behavior is working as expected, but the memory usage isn't.
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm

Re: ST3 using more than half my memory?

Postby Submerged on Sat Feb 02, 2013 4:37 pm

The file extension is .data which are really just serialized java objects.
Submerged
 
Posts: 5
Joined: Mon Jan 21, 2013 2:21 am

Re: ST3 using more than half my memory?

Postby brettnak on Mon Feb 04, 2013 7:07 am

This is happening to me as well, and usually happens (I think) when the indexer runs into very large HTML or JSON files. Putting those files into my project's

Code: Select all
folder_exclude_patterns


worked fine, but that removes them from sublime's directory tree and from the quick open menu (Control/Command + T). I'd really like to just stop them from being indexed but have sublime still know they exist. Is that feature supported? Something like

Code: Select all
folder/file_exclude_index_patterns


or something? If not, I can put it in the feature requests section.
brettnak
 
Posts: 1
Joined: Mon Feb 04, 2013 6:59 am


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Majestic-12 [Bot] and 19 guests