Allowed memory size of 1073741842 byetes exhausted

Now I use piwik/misc/cron/archive.sh and archive.php to archive data, but both met with the following problem. This idsite 2 only has 20K pv every day. But another idsite has 80K pv every day, when archiving, no problem happended.
Settings as followed:
/etc/php.ini
memory_limit = 1024M

piwik/config/config.ini.php
minimum_memory_limit_when_archiving = 1536

Archiving period = week for idsite = 2…

<?xml version="1.0" encoding="utf-8" ?> 3763 77467 69264 104825 121463 130880 119806 115717 93921 98240 89757 104617 63795 Archiving period = month for idsite = 2... PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 8208 bytes) in /opt/piwik/core/DataTable.php on line 1100

Archiving period = year for idsite = 2…
PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 8208 bytes) in /opt/piwik/core/DataTable.php on line 1100

Archiving for idsite = 2 done!
Reports archiving finished.

Check your susohin.memory_limit try bumping it up to 512 and see if that helps.

[quote=lesjokolat]
Check your susohin.memory_limit try bumping it up to 512 and see if that helps.[/quote]

Where can I find this susohin.memory_limit?
BTW, the php function has used memory greater than 1GB memory size, is it OK?

I think the 1024 is a bit much(though alot of memory is never a bad thing) if applicable the suhosin memory setting may allow you to reduce to 512 or lower if all goes well.