Possible Duplicate:
Too much data with var_dump in symfony2 doctrine2
I have quite simple entities that are related to each other, something like a User entity having one Profile and having many Pictures and many Addresses, etc. Nothing too fancy, and everything is working great.
But my problem is: If I try to do a simple
print_r($this->user); die();
in the controller, my browser will basically crash, obviously because there is too much data to display. So, should I be worried ? I feel like my associations might be wrong somewhere...
If it is a normal behaviour of Symfony, should I still be worried about all this data being in memory ?