Sublime Forum

ST3 using more than half my memory?

#1

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


It gets so bad that my system locks up on occasion.

0 Likes

#2

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

“folders”:

	{
                    "folder_exclude_patterns": "serializedWorkResponses"]
	}
],
0 Likes

#3

What type of files make up the 1GB?

The indexing behavior is working as expected, but the memory usage isn’t.

0 Likes

#4

The file extension is .data which are really just serialized java objects.

0 Likes

#5

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

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

folder/file_exclude_index_patterns

or something? If not, I can put it in the feature requests section.

0 Likes