-
Hello All, Please, give me an advice. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Also - if I make persist(); flush(); of one row into the database.. - The record is made into the database. But there is no returned object. Nothing is returned. |
Beta Was this translation helpful? Give feedback.
-
The doctrine project has their own discussions: https://github.com/doctrine/orm/discussions. You might have better luck there. That being said, you might want to look at clearing the ObjectManager regularly. It's hard to tell without seeing any code, but I find that often times old entity manager state can not be collected by the garbage collector, which can cause the memory issues that you describe. |
Beta Was this translation helpful? Give feedback.
-
Hello All, Thanks for the comments. Best regards |
Beta Was this translation helpful? Give feedback.
The doctrine project has their own discussions: https://github.com/doctrine/orm/discussions. You might have better luck there.
That being said, you might want to look at clearing the ObjectManager regularly. It's hard to tell without seeing any code, but I find that often times old entity manager state can not be collected by the garbage collector, which can cause the memory issues that you describe.