[Cin] Complete system hangs (likely out of memory)

Andrew Randrianasulu randrianasulu at gmail.com
Sun Jan 22 17:22:15 CET 2023


вс, 22 янв. 2023 г., 19:13 Stefan de Konink <stefan at konink.de>:

> On Sunday, January 22, 2023 4:59:17 PM CET, Andrew Randrianasulu wrote:
> > can you use 'top' to see if memory eaten by cin process or X server?
>
> This is rendering;
>
>   15761 skinkie   20   0   17.5g   9.7g 167088 S 625.6  62.2  33:24.43
> cineler+
>     772 skinkie   20   0 1161336 168508  85956 S   2.3   1.0   4:46.48 Xorg


>
> --
>

quite a lot, is this with just fullhd/rgba-8 going into h264, or something
bigger?

I looked at sourci in viewer and there slight difference in handling object
destruction vs close event. Are quo closing by 'x' button in window corner
or keyboard key?


diff

void VWindow::handle_close_event(int result)
{
        delete playback_engine;
        playback_engine = 0;
}

vs

VWindow::~VWindow()
{
        close_window();
//printf("VWindow::~VWindow 1\n");
        delete playback_engine;
//printf("VWindow::~VWindow 1\n");
        delete playback_cursor;
        delete_source(1, 0);
        delete clip_edit;
//printf("VWindow::~VWindow 2\n");
}

you can try to add lines from second to first, and see how it goes ...



>
>
> > Practical question: is it possible to have a different path for the
> > emergency backups than /tmp?
> >
> > hm, from code ...
> >
> > char string[BCTEXTLEN];
> >
> > // Delete extra backups
> >     fs.set_filter("backup*.prev_*");
> >     fs.complete_path(preferences->index_directory);
> >     fs.update(preferences->index_directory);
> >
> > so check preferences-> index directory path in GUI?
>
> That goes into /home/skinkie/.bcast5
> --
> Stefan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20230122/9fe16edb/attachment.htm>


More information about the Cin mailing list