Fatal error on directories scan

When I try to scan directories I get this error message:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 131960 bytes) in /mounted-storage/home34b/sub017/dw56547-XXWE/www/gallery/phpdatabase.php on line 156

What can I do to resolve this?

Thanks.


style="display:inline-block;width:468px;height:60px"
data-ad-client="ca-pub-8698264690166658"
data-ad-slot="4417389723">