Switching to JSON will help you with this, as it simplifies caching.
APC will also help, just for the part of the operations cache, and not for storing objects in memory.
How big is this object? Could it be worth it not to send the whole thing? If you are simply dealing with record sets, you can fix this in the interface by downloading only what the user can see or will see in the near future.
Evert source
share