             ;; here or in your ~/.lein/profiles.clj file.
             ;; :sdk-path "/home/user/path/to/android-sdk/"
 
-            ;; Uncomment this if dexer fails with OutOfMemoryException.
+            ;; Uncomment this if dexer fails with
+            ;; OutOfMemoryException. Set the value according to your
+            ;; available RAM.
+            ;; :dex-opts ["-JXmx4096M"]
+
+            ;; If previous option didn't work, uncomment this as well.
             ;; :force-dex-optimize true
 
             :target-version "{{target-sdk}}"

                                  [org.clojure-android/clojure-complete "0.3.0-SNAPSHOT"]]
                   :android {:aot :all-with-unused}}
             :release {:android
                       {;; Specify the path to your private
                        ;; keystore and the the alias of the
                        ;; key you want to sign APKs with.
                        ;; :keystore-path "/home/user/.android/private.keystore"
                        ;; :key-alias "mykeyalias"
                        :aot :all}}}


  :source-paths ["src/clojure" "src"]
  :java-source-paths ["src/java" "gen"]

  :dependencies [[org.clojure-android/clojure "1.5.1-SNAPSHOT"]
                 [neko/neko "3.0.0-SNAPSHOT"]]
