Daniel, your suggestion of loading a few files at a time did the trick.
Thanks!  That, in combination with lowering my "Cache size" setting, allowed
me to finally load all 166 MPG files.  I experimented with the format
settings too but that didn't seem to make a difference.

I also tried Hermann's suggestion of using mpeg3toc to pre-generate the .toc
files but that didn't seem to help either.  It caused the "Load files"
operation to be blazingly fast but that just meant it ran out of RAM in less
time.  There surely must be some memory leak when loading resources.  Either
in Cinelerra or a shared library.

So to summarize what worked for me:  If you are running out of RAM trying to
load resources:
  1) Go to Settings->Preferences->Performance and set "Cache size" to
something low (2MB for example)
  2) Load only a few files at a time then save the project and exit
Cinelerra. (I was able to do 50 at a time)
  3) Make sure the "Index files to keep" setting is >= to the number of
resources you have.

By the way, Cache size apparently has a large impact on memory usage.  At
2MB my empty project with 166 resources loaded uses only 200MB.  A
cache-size of 10MB (default) needed about 400MB.

Thanks for all your help people :)





On Fri, Jun 11, 2010 at 8:33 PM, Daniel Jircik <[email protected]> wrote:

> I've had problems loading bulk files into Cinelerra as well. Try this.
> In a console start Cinelerra, go to file, select New. Popup will ask
> for parameters. Top left is Presets. Select NTSC and bottom right is
> Color Model select YUV 8 bit. Now save the file with your project
> name.
>
> Try loading just one file as New resources only. Double click it and
> it should appear in the viewer window.
> On the timeline toolbar select drag and drop mode (the arrow).
> Drag the clip from the assets window to  the timeline and make sure it
> shows up on the compositor window.
>
> If all is good save the file and start adding assets in smaller
> numbers,  say 5 at a time.
>
> That should tell you if everything is ok from console errors etc.
>
> ciao
> Daniel
>
> On Sat, Jun 12, 2010 at 3:05 AM, Adam B <[email protected]> wrote:
> > Thanks for the quick replies, flavio and Frans.  I tried again with no
> > luck.  Here's what I tried:
> >
> > 1) Increased the the "Number of index files to keep" from 100 to 300.
> > 2) Launch cinelerra from a terminal so I can see why it crashes
> > 3) From the file menu select "Load files..."
> > 4) Select all my mpg video files (164 total).
> > 5) Select "Create new resources only" and click okay
> > 6) Watch my system-monitor for the next 5min.  Free physical RAM quickly
> > goes to zero.  After that, free swap slowly declines to zero.
> > 7) Cinelerra dies with the console message: "Killed".  I'm fairly certain
> > that the OS took pitty and killed it as opposed to Cinelerra crashing.
> >
> > Am I doing something wrong?  By the way, my Cinelerra version is 2.1CV.
> >
> >
> >
>
> _______________________________________________
> Cinelerra mailing list
> [email protected]
> https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
>

Reply via email to