aaronzou / mirone

Automatically exported from code.google.com/p/mirone
0 stars 0 forks source link

Out of memory error with Swan compute #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. trying to use swan compute for 3000 x 3000 grid

What is the expected output? What do you see instead?
 smooth running of swan

» ??? Out of memory. Type HELP MEMORY for your options.

Error in ==> tsu_funs>SwanCompute at 234
            feval(swan_hand,Z_bat, head_bat, Z_src, head_src, out.params,
out.maregraph_xy, opt_O, ...

Error in ==> tsu_funs at 5
            SwanCompute(varargin{:})

??? Error while evaluating uimenu Callback.

What version of the product are you using? On what operating system?

both SVN and V1.31 give same problem
Matlab 7.0.0.19920(R14)

Please provide any additional information below.

after loading both bathy and deform grids in memory, still the system
memory used is ~420MB.
increasing the grid max size does not help
physical memory is 2GB
virtual memory is 2GB
(matlab's suggestion of increasing virtual memory has no effect!)
tried monitoring the instant memory usage while starting swan, it does not
show any abnormal overshoot.

Is there any problem of handling big array like this? 

Original issue reported on code.google.com by rrama...@gmail.com on 6 Aug 2008 at 12:35

GoogleCodeExporter commented 8 years ago
Short answer:
Reboot and try again with a fresh minimal defragmented memory.
Long answer:

check out these two Tech Notes:

http://www.mathworks.com/support/tech-notes/1100/1106.html
http://www.mathworks.com/support/tech-notes/1100/1107.html

Original comment by jl...@ualg.pt on 17 Oct 2008 at 7:09