Can anyone give me some guide?

----- Original Message ----- 
From: "Sarah" <[EMAIL PROTECTED]>
To: <sqlite-users@sqlite.org>
Sent: Thursday, July 27, 2006 3:47 PM
Subject: [sqlite] Another question about RAM


> Hi, all
> 
> I want to build SQLite on the uc/os-II kernel in an embedded device.
> 
> Because uc/os-II doesn't provide malloc(), free() to manage memory, instead,
> it divides the memory into fixed-length blocks and provides OSMemGet() and 
> OSMemPut() to 
> get and put fixed-length memory block.
> 
> In order to port SQLite, I have to wrap uc/os-II with a set of standard 
> memory management APIs(malloc, free...).
> So I need to decide in advance that which 'fixed length' will be better. That 
> is to say, when using malloc() to 
> allocate memory in SQLite, how much memory is needed in most cases? what does 
> it depend on?
> 
> Thanks.
> 
>

Reply via email to