The "security library: memory allocation failure" error doesn't actually seem to be a memory problem as such. Maybe it's the old openssl library on the Pandora or something like that, as disabling TLS (and forcing Firefox to fall back to SSLv3) fixes this error with the Google login page.
So: Open "about:config" in Firefox, search for "security.enable_tls" and set it to "false".
[edit] While it's the default, better also check that "security.enable_sslv3" is set to "true", otherwise Firefox won't have https at all.