Re: Re: restore_points file

Home › Forums › Help and Support › restore_points file › Re: Re: restore_points file

#27529
Ed
Member

@rodries wrote:

1 restore point is about 1kilobyte so 1000 restore points will use about 1MegaByte
I think 1000 is a good value
mem2 is only 64MB and mem1 24MB and restore points are in mem1. A good idea is use mem2 manager to move restore points to mem2 because mem1 is faster and it’s good for mplayer decoding

Good Evening Rodries,

i read that in mplayer.c :


int i;
char tmppath[MAXPATHLEN];
char *buff = mem2_malloc(MAX_RESTORE_POINTS*1024 + 1024,OTHER_AREA);
buff[0] = 0;

Does it means that restore_points is already in mem2 ?
Is it also possible to allocate 512 bytes instead of 1024 bytes ?