I have theoretical question about OSGi memory management.
Let’s say we have some OSGi container (Felix for instance), and let’s suppose I created some bundle with memory leak.
And here are some questions that I have:
- Is there any way to limit memory consumption for this “failure” bundle? For example if it exceeds memory limit – OSGi container would send me an email, uninstall it or something else?
- How does memory consumption in bundle “A” affect bundle “B”. For example if “A” causes out of memory error would it blow up whole OSGi container?