I am using ruby 1.9.3 with rails 3.1 and the memory usage for these things can get pretty large pretty fast. I have read around and it appears that the default ruby malloc limit is 8MB. This is pretty low and I have a lot of server to play around with. How can I raise the malloc limit to something like 1024 MB or so? I know the variable is RUBY_GC_MALLOC_LIMIT. I don't really want to have to custom compile the VM.
Ruby Malloc Limit: How to raise it higher
1.1k Views Asked by Red At
1
There are 1 best solutions below
Related Questions in RUBY
- Best way to make an HABTM association via console
- undefined method `namespace' for main:Object (NoMethodError) - active record / rakefile
- Ruby destroy is not working? Or objects still present?
- Trying to set the value of an input with mechanize
- How to split the logic in a ruby game
- How can I monitor an endpoint's status with Ruby?
- Why can a private class method be explicitly invoked in Ruby?
- Rails - Ajax do not work properly on production server
- syntax error, unexpected kEND
- Carrierwave file upload with different file types
- b.javascript_dialog().exists? is not working for me in WATIR 4.0.2
- Combine two arrays of hashes
- Building a simple calculator form in Rails 4
- How do I update create route from rails 3 to 4
- Comparison of Fixnum with nil failed - palindrome program Ruby
Related Questions in RUBY-ON-RAILS-3
- Jruby: How to use third party java library?
- How do I update create route from rails 3 to 4
- Can't update user in Ruby on Rails
- Rails Ancestry. How can I display a single comment with all its descendants?
- LinkedIn API returns Positions without Title
- Catch emails to all [email protected], and execute code
- Cannot run elastic search in circleci to make my rspec for elasticsearch to pass?
- How do I clear values from text_field_tag after browser refresh?
- Rails submit create action succeeding
- f.select with enum in rails 3
- Rails 3 join where query - print only on row
- Rails testing button functionality with capybara.
- Fix spurious rspec "photo can't be blank" failures for Carrierwave
- ActiveRecord Slow Object Instantiation
- Ruby on Rails 3 Multiple Associations
Related Questions in GARBAGE-COLLECTION
- JVM is functioning very differently with same flags
- Why WeakReference to a WeakRef object is not garbage collected?
- GC cleaning the object before calling onPictureTaken method
- Know what objects got garbage collected
- Practical case JVM tunning to avoid full GC
- GC overhead limit exceed when reading large file
- Can java string literals be garbage collected?. If Yes, how to prove it?
- G1 doesn't process soft references
- why do I have to swapCursor(null) in onLoaderReset?
- Is it safe to assume static variables never get cleared?
- JVM ClassUnloadingWithConcurrentMark flag
- Java 8 Metaspace - Avoid decrease
- node.js memory usage issue
- G1GC Strange behavior
- Exposing whether an application is undergoing GC via UDP
Related Questions in MALLOC
- Malloc confusion
- Creating two arrays with malloc on the same line
- C program crashes when I tried to set an element of type char* in my struct to a specific string?
- Allocating a struct and saving a string in it
- C Define size of array inside main for a struct
- Random double free or invalid next_size
- Accessing char array inside struct showing out of bounds error
- Simple malloc function in c
- Malloc( ) - Decision between a new page(s) request or re-cycling previously allocated memory
- C/CUDA: Only every fourth element in CudaArray can be indexed
- Dynamically creating a 2D array of pointers using malloc in C
- Cannot free fileName char * after fclose
- function to get 2d-arrays from stack and heap
- Why do I get a still reachable block after mallocing a char*?
- copying function pointer throws error in one function pointer
Related Questions in RUBY-1.9
- Constant Lookup with instance_eval in Ruby 1.9
- Is the env $LANG setting equivalent to a "magic" utf-8 comment?
- Access STDIN of child process without capturing STDOUT or STDERR
- Deep copy JSON object in Ruby
- How to delete specific mail on server by ruby/mikel mail?
- Merge same named arrays in ruby hashes
- How do I convert a Block to a Proc in a Ruby 1.9 C extension?
- Does threads remove themselves from memory after finished running?
- Sinatra fails to answer to a very basic GET request
- What's the difference between Object and BasicObject in Ruby?
- Data casting error when reading from a file in Ruby
- Model namespace issue in rails
- How can I add an alias to Ruby 1.9's Enocding.aliases?
- Vim, Tabular and Ruby 1.9 Hashes
- ruby self.class.class_eval or singleton_class.class_eval
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If you are still looking for this you could try the malloc gem. You can custom set malloc items: