Skip to content
This repository was archived by the owner on May 21, 2019. It is now read-only.

OutOfMemoryError caused by SpringFactory #114

Open
yuyijq opened this issue Jun 20, 2011 · 1 comment
Open

OutOfMemoryError caused by SpringFactory #114

yuyijq opened this issue Jun 20, 2011 · 1 comment

Comments

@yuyijq
Copy link

yuyijq commented Jun 20, 2011

I found createObjects method in SpringFactory will call appContext.refresh() method, that will cause memory leaks, then throw OOM. I think this would be a bug of Spring.
So I created a MySpringFactory to override createObjects, not call refresh method.

@darrinholst
Copy link
Contributor

I've never seen this before, is it running out of PermGen space? Do you have an example to reproduce this?

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