Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

permgen issue with tracing #26

Closed
dajac opened this issue Feb 1, 2012 · 3 comments
Closed

permgen issue with tracing #26

dajac opened this issue Feb 1, 2012 · 3 comments

Comments

@dajac
Copy link
Contributor

dajac commented Feb 1, 2012

Hello Zach,

We noticed a memory leak of the permgem space when using aleph's http client. After a while, we found that lamina.trace/canonical-probe keywordize all strings and http client use (str "http-connection:" (:server-name options)) as a part of the generated canonical-probe. So using the http client with a lot of different hosts causes a lot of different keywords to be stored into the pergem and finally causes an "java.lang.OutOfMemoryError: PermGen space".

So can we juste disable the keywordization there? What do you think?

As you know, we rely on lamina/aleph on production and would appreciate your help.

Regards,
David

@ztellman
Copy link
Owner

ztellman commented Feb 1, 2012

Specify a :name in the request, and it won't generate a new probe name each time. This should be prominently documented, and probably default to not being traced in the case of standalone http-requests. Leaving this open until we default to saner behavior.

@dajac
Copy link
Contributor Author

dajac commented Feb 1, 2012

Thank you! I really appreciate your help.

Le 1 févr. 2012 à 22:50, Zach Tellmanreply@reply.github.com a écrit :

Specify a :name in the request, and it won't generate a new probe name each time. This should be prominently documented, and probably default to not being traced in the case of standalone http-requests. Leaving this open until this defaults to saner behavior.


Reply to this email directly or view it on GitHub:
#26 (comment)

@ztellman
Copy link
Owner

This is not a problem in 0.5.0

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

No branches or pull requests

2 participants