Closed (won't fix)
Project:
Drupal Computing
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Aug 2012 at 14:13 UTC
Updated:
22 Aug 2012 at 14:15 UTC
Even though the fields input/output json can store very large data, using the large data in PHP would cause PHP out of memory.
2 ways to circumvent it:
1. Use stream reading, and we don't load large data into memory all at once, but load and process. However, PHP json doesn't support stream reading/writing, so basically this is a deadend.
2. Instead of dumping large data into input/output, you can write extra large data directly into relevant database tables.
Comments
Comment #1
danithaca commentedThis problem is by design. See the second approach mentioned above as a work-around.