Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Out of memory metaspace
Why is it that when I create an entity, many classes are created?
Because of this, when deploying in Liferay, a metabase error occurs.
On the website, the solutions were to increase the meta size, but I
want to find a solution without doing that, as I do not prefer it.
Another solution was to reduce unwanted classes and objects.
What is the current metaspace amount that you don't want to increase? Which version and how many other plugins (other than the OOTB plugins) did you deploy?
In general: If you don't have enough Metaspace, you'll have to increase it. If you have some leak of Metaspace memory, you should check where it comes from. Certainly it's not coming from (assumed) number of Service-Builder classes.