Hi-

I have a script that grabs a lot of information for a page that has a 'Research Mode.' Basically, it grabs a bunch of data, then uses JS to show or hide info based on user criteria.

It used to work fine, but we've been adding more info -- & still have more to go -- & I'm running out of memory with the PHP script the generates the page.

The error I'm getting is: Fatal error: Out of memory (allocated 23330816) (tried to allocate 5445228 bytes) in (script path)

I've tried using: ini_set('memory_limit', '256M');
on the main calling page, but that doesn't seem to do anything.

So, does anyone know how to dynamically allocate memory so I can get this page working again?

Thnx for any info...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.