diff --git a/core/install.php b/core/install.php
index 7152fd8..cdcd20b 100644
--- a/core/install.php
+++ b/core/install.php
@@ -36,6 +36,11 @@
   exit;
 }
 
+if (substr(ini_get('memory_limit'), 0, -1) < 32) {
+  print 'Your PHP installation does not have enough memory. See the <a href="https://drupal.org/requirements/php">system requirements</a> page for more information.';
+  exit;
+}
+
 // Start the installer.
 require_once __DIR__ . '/includes/install.core.inc';
 install_drupal();
