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.
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?.