0

I'm having hard time with symfony and cpu/memory leak, i'm new to symfony i don't know if i'm messing any tips or techniques to overcome this problem.

i'm hosting my current symfony project on a vps and it halts almost every other hour.

I would like also to know the answers for these questions :

when i execute a doctrine query using (fetchOne, fetchAll, execute) i get a lot of extra symfony stuff like table name and structure ... is there any way to get just the data ?

what should i do to optimize my symfony app

Thanks

erratbi
  • 87
  • 12

1 Answers1

1

Your problem looks very abstract. It's very hard to help you without more info. Anyway, I think you should take a look to this question and search about Doctrine hydration options: What is Doctrine hydration?.

Remember to use the symfony debug web bar.

Community
  • 1
  • 1
glerendegui
  • 1,457
  • 13
  • 15