Magic Lantern Forum

Developing Magic Lantern => General Development => Topic started by: a1ex on April 02, 2013, 11:12:08 PM

Title: Free memory - how much RAM do we have on each camera?
Post by: a1ex on April 02, 2013, 11:12:08 PM
To have a better overview of the memory that we can use in ML, I'd like to ask you to fill this table:

https://docs.google.com/spreadsheet/ccc?key=0AgQ2MOkAZTFHdFFIcFp1d0R5TzVPTVJXOEVyUndteGc#gid=2

(you can take those numbers from the latest nightly build, for example)
Title: Re: Free memory - how much RAM do we have on each camera?
Post by: 1% on April 03, 2013, 04:22:24 AM
How do I load 6D into rscmgr? This would allow bigger bin would it not? Malloc was 450K and Allocate memory 3035-3005 fluctuating with LV/Photo mode, etc. when loading into AllocateMemory pool. Shoot Mem is 256MB when it works.
Title: Re: Free memory - how much RAM do we have on each camera?
Post by: Francis on April 03, 2013, 04:53:43 AM
I'm trying to add 550D but I have read-only access.

malloc: 264K
AllocateMemory: 2005K
stack space: 597K
shoot_malloc contig: 30M
shoot_malloc total: 76M
Autoexec.bin size: 464K of 512K
Title: Re: Free memory - how much RAM do we have on each camera?
Post by: g3gg0 on April 03, 2013, 09:33:56 AM
i made it public
Title: Re: Free memory - how much RAM do we have on each camera?
Post by: trsaunders on April 03, 2013, 09:39:17 AM
Here's the memory screen for 50D
(http://i.imgur.com/na7FPMW.png)
Title: Re: Free memory - how much RAM do we have on each camera?
Post by: a1ex on April 03, 2013, 09:42:31 AM
If the contig value is correct, formatting the card from camera doesn't work, right?
Title: Re: Free memory - how much RAM do we have on each camera?
Post by: trsaunders on April 03, 2013, 09:48:01 AM
My card was full, formatting did work, and the shoot_malloc contig went up to 26mb. I restarted the camera and it is back at 3mb.
Title: Re: Free memory - how much RAM do we have on each camera?
Post by: a1ex on April 03, 2013, 10:02:08 AM
This may explain some older bug reports about formatting the card in 50D. Allocating shoot memory is not yet fully understood.
Title: Re: Free memory - how much RAM do we have on each camera?
Post by: g3gg0 on April 03, 2013, 11:11:33 AM
well, we cannot rely on contiguous space.
we should switch to using the memchunks in a memsuite instead of using it as linear memory.
Title: Re: Free memory - how much RAM do we have on each camera?
Post by: scrax on April 08, 2013, 07:06:23 PM
added 600D data to the google docs, had to use the nightly since if compiled for 600D myself it will not load (led blinking)
Title: Re: Free memory - how much RAM do we have on each camera?
Post by: Greg on June 01, 2013, 12:42:32 AM
500D :
(http://img28.imageshack.us/img28/6641/vram0b.png)
Title: Re: Free memory - how much RAM do we have on each camera?
Post by: vroem on June 01, 2013, 10:14:47 AM
As said elsewhere: Changing picture quality in the canon menu from RAW to JPEG (L/M/S) gives me a bigger shoot_malloc buffer. I get 100MB extra on my 60D:

(http://s16.postimg.org/x7ydsj00l/VRAM0.png)
Title: Re: Free memory - how much RAM do we have on each camera?
Post by: Greg on June 01, 2013, 05:19:12 PM
500D block

(http://img96.imageshack.us/img96/5006/vram0.png)
Title: Re: Free memory - how much RAM do we have on each camera?
Post by: Novosibirets on June 01, 2013, 05:48:06 PM
50D

(http://twovk.com/f/magic_lantern_test_20130601_1.jpg)
Title: Re: Free memory - how much RAM do we have on each camera?
Post by: Tomibeg on June 08, 2013, 01:41:54 PM
Why 600D have 2x lower allocate memory than 550D?
Title: Re: Free memory - how much RAM do we have on each camera?
Post by: a1ex on June 08, 2013, 01:46:26 PM
Why do I have 100GB free space on the hard disk? My neighbour has 200!!!
Title: Re: Free memory - how much RAM do we have on each camera?
Post by: Gobian on June 08, 2013, 02:05:00 PM
jajaja! Actually bare in mind it is not only down to the camera ram, but to the transfer data that the cards can hold, and with the 6D for example we have a bottleneck only been able to use SD cards that seems to reach max ~39-40mb/s. :(
Title: Re: Free memory - how much RAM do we have on each camera?
Post by: kgv5 on June 08, 2013, 02:05:44 PM
Quote from: vroem on June 01, 2013, 10:14:47 AM
As said elsewhere: Changing picture quality in the canon menu from RAW to JPEG (L/M/S) gives me a bigger shoot_malloc buffer. I get 100MB extra on my 60D:

(http://s16.postimg.org/x7ydsj00l/VRAM0.png)

So, does the 60d has 283 MB of buffer space? What exact setting did you changed to have this gain and in which mode? Did you have about 180MB before?
Title: Re: Free memory - how much RAM do we have on each camera?
Post by: a1ex on June 08, 2013, 02:11:45 PM
QuoteAs said elsewhere: Changing picture quality in the canon menu from RAW to JPEG (L/M/S) gives me a bigger shoot_malloc buffer. I get 100MB extra on my 60D:

^^^ that is the exact setting.
Title: Re: Free memory - how much RAM do we have on each camera?
Post by: Tomibeg on June 08, 2013, 02:12:47 PM
Quote from: a1ex on June 08, 2013, 01:46:26 PM
Why do I have 100GB free space on the hard disk? My neighbour has 200!!!
Hah)). No, Alex, i have 550d and bought 600d recently. Just install ML on 600d and compare parameters with the same 16gb sdhc class 10.
And interesting, the newer model have lower parameters in memory.
I am sorry if I write not in the theme topic
Title: Re: Free memory - how much RAM do we have on each camera?
Post by: a1ex on June 08, 2013, 02:16:11 PM
Well, there are no Canon engineers here that could answer you (and I doubt they have to justify why their 600D code is a little bigger than the 550D one...)
Title: Re: Free memory - how much RAM do we have on each camera?
Post by: kgv5 on June 08, 2013, 02:31:54 PM
Quote from: a1ex on June 08, 2013, 02:11:45 PM
^^^ that is the exact setting.

ok, sorry I forgot that 60d has actually more buffer space than 6D, 8*32 vs 7*32, 283 vs 255 MB, thought, that I have missed some setting in my cam
Title: Re: Free memory - how much RAM do we have on each camera?
Post by: 1% on June 08, 2013, 04:40:55 PM
600D has hope, there is a way to get more blue chunks but they seem fragmented.. and yes ones not in the mirror. Just have to understand how to free work units after they're unused... Even 1 chunk or 2 would help a ton.
Title: Re: Free memory - how much RAM do we have on each camera?
Post by: sage on September 08, 2014, 04:38:55 PM
5d mkII
(http://i.imgur.com/T0bFUiI.png)
How does one increase the malloc memory?  Is it normal for a mark ii to have such a 'low amount'? (Don't know how to express this)

Thank you