Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory Leak #49

Open
zodern opened this issue Nov 16, 2015 · 2 comments
Open

Memory Leak #49

zodern opened this issue Nov 16, 2015 · 2 comments

Comments

@zodern
Copy link

zodern commented Nov 16, 2015

My app had a memory leak and would go from 130mb to 512 over a couple hours and then crash. After commenting out the code for node-loggly, the memory no longer climbs.

I used it as:

var Logger = new Loggly({                              
  token: "<token>",       
  subdomain: "<subdomain>",                                 
  auth: {                                              
    username: "<username>",                     
    password: "<password>"                               
  },                                                                                                    
  tags: ["customer_purchase"],                            
  json: "true"                                         
});                                                    

// a bunch of log statements in various parts of the code
Logger.info('no products in' + storeData._id);

I have about 700 logs per minute in bursts every 5 seconds.

If it helps, I am using the meteor package miktam:loggly which is a wrapper around node-loggly.

@DominikGuzei
Copy link

@zodern do you have any update about your memory leak issues? can you confirm that it was the loggly package that caused it? we are using it and also have a memory leak that climbs steadily to 512mb before dropping down a bit …

@zodern
Copy link
Author

zodern commented Nov 13, 2016

@DominikGuzei The memory leak went away when I stopped using loggly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants