diff --git a/.travis.yml b/.travis.yml
index 593441cfd9491445ff66a0bc54cd456bbfe53180..c208cb6596e89bbb3f9a9df6ebc15ba037835887 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,23 +5,24 @@ dist: trusty
 sudo: True
 group: beta
 env:
-    - platform: openbsd60
-    - &openbsd59 platform=openbsd59
-    - &openbsd56 platform=openbsd56
-    - platform: xenial
-    - platform: trusty
-    - &jessie platform=jessie
-    - &wheezy platform=wheezy
-    - platform: precise
-    - &stretch platform=stretch
+    global:
+        - VBOX_MEMORY=2048
+    matrix:
+        - platform: openbsd60
+        - &openbsd59 platform=openbsd59
+        - &openbsd56 platform=openbsd56
+        - platform: xenial
+        - platform: trusty
+        - platform: precise
+        - &stretch platform=stretch
+        - platform: jessie
+        - platform: wheezy
 matrix:
     fast_finish: True
     allow_failures:
         - python: "3.5"
         - env: *openbsd59
         - env: *openbsd56
-        - env: *jessie
-        - env: *wheezy
         - env: *stretch
 cache:
   - pip
@@ -39,7 +40,7 @@ install:
 
 script:
   - pre-commit run --all-files
-  - molecule test --platform $platform
+  - travis_wait 45 molecule test --platform $platform
 
 notifications:
   webhooks: https://galaxy.ansible.com/api/v1/notifications/
diff --git a/molecule.yml b/molecule.yml
index c66314e3a387aefdb18f4ca43482e9ef3fcd435e..03011c54c55258738218acb74e27073e0faf998b 100644
--- a/molecule.yml
+++ b/molecule.yml
@@ -47,4 +47,5 @@ vagrant:
   - |
       vm.provider "virtualbox" do |v|
         v.customize "pre-boot", ["modifyvm", :id, "--hwvirtex", "off"]
+        v.memory = ENV['VBOX_MEMORY'].to_i if ENV.has_key?('VBOX_MEMORY')
       end