Method: Cuboid::System::Slots#memory_size
- Defined in:
- lib/cuboid/system/slots.rb
#memory_size ⇒ Fixnum
Returns Amount of memory (in bytes) to allocate to each scan.
136 137 138 139 |
# File 'lib/cuboid/system/slots.rb', line 136 def memory_size return 0 if !Cuboid::Application.application Cuboid::Application.application.max_memory.to_i end |