Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

running out of memory...

3 views
Skip to first unread message

RAB

unread,
Aug 22, 2005, 3:57:01 AM8/22/05
to
I am writing a program that retrieves data in the form of :

char* Data[]=
{
{"string1"},
{"string2"},
{"string3"},
.....
{"string104"},
{"string105"}
};

I have 190 of these char arrays and plan to expand further.

Despite my efforts of segmenting my Codewarrior project and setting my
linker to "large", I still get the following compile error.
"Link Errror :_Runtime module_: Near data segment is bigger
than 64k"

Does anyone know how I can fix this problem?

Thanks,
RABMissouri

Baxter

unread,
Aug 23, 2005, 12:12:20 PM8/23/05
to
1 - Allocate heap memory for those arrays. MemPtrNew()
2 - use a database instead of arrays.
3 - etc.

--
---------------------------------------------------------------------
DataGet & PocketLog www.dataget.com
Data Collectors www.baxcode.com
--------------------------------------------------------------------

"RAB" <rabmi...@yahoo.com> wrote in message
news:1124697421....@o13g2000cwo.googlegroups.com...

RAB

unread,
Aug 26, 2005, 11:05:34 PM8/26/05
to
What desktop software can I use to create the mentioned Palm OS
database? ie I want to create it on my desktop and then sync it to the
palm.

Thanks,
RABMissouri

Baxter

unread,
Aug 27, 2005, 1:35:43 PM8/27/05
to
Assuming it's fixed data.

Create it on the Palm - write a small program, make sure the backup bit is
set and it is the right type ('data' I think - check the documentation).
Then do a HotSync and retrieve it from your backup directory. This is
probably the easiest way.

--
---------------------------------------------------------------------
DataGet & PocketLog www.dataget.com
Data Collectors www.baxcode.com
--------------------------------------------------------------------

"RAB" <rabmi...@yahoo.com> wrote in message

news:1125111934.9...@g14g2000cwa.googlegroups.com...

0 new messages