Hello everyone,
I have some entities that have a property defining a relationship with another entity (Many-To-Many or One-To-Many and etc,). For whatever reason, these associated properties are causing Heap Space error message. If I comment out these associated properties, I can access the entity without any issue.
Here is an example.
property name="associatedUsers"
singularname="associatedUser"
fieldtype="many-to-many"
linktable="User_App_Associations"
fkcolumn="appId"
inversejoincolumn="userId"
cfc="server.model.User"
remotingfetch="false"
lazy="true"
fetch="join";
Since lazy is true, I can initially load the entity without any issue, but if I call getter for this property or try to writedump the entity, then Lucee hangs up after throwing the Heap Space error.
I’m working on gaining access to Tomcat Service Control to try increasing the size of heap. Does anyone know what could be causing this or have set up entity relationship successfully?
Thank you.