nTail eclipse plugin causing serious memory issues

I have this nTail plugin that keeps loading a log file at regular intervals. For some reason, there was some crazy java code that went into infinite loop and increased the size of log file to 700MB. That caused this plugin to consume too much memory, which in turn made eclipse really really slow even after increasing the memory to 2GB. I kept consuming all the memory with in 10 seconds of loading eclipse.

I took me an hour to figure out what when wrong. I renamed the ‘.metadata’ directory in workspace and relaunched eclipse. Every thing worked fine then and i had to reconfigure the plugins. While reconfiguring nTail to load the file, I noticed that log file grew to 700MB. So I deleted those log files. Switched back to the old metadata directory and everything started working fine again.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: