I’m running 128Mb and I don’t think those methods will work on my server, I did try the wp_config one out php info still showed 128Mb.
Do you think it should need more memory than 128? Seems a bit high but I could talk to my hosting company.