Trolltech Home | Qt-embedded-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-embedded-interest Archive, November 2006
error in executing qt application in blackfin


Message 1 in thread

hi...

i had written a qt application where in it will execute another qt application. i had compiled and ported it to BF537 EZKIT also. but will executing it showed me the errors as "Unable to allocate RAM for process text/data, errno 12
: memory exhausted".

i entered cat /proc/meminfo command. it showed to 35 MB as memory free. mu application size is around 5 MB each. also they are loaded through ftp into the board. 

can anyone provide solutions or suggestions as to why is it showing me the error inspite of having 35 MB free...? Also should if modify any file in the uClinux for this ..? i'm a newbie to qt programming. is it possible to run two or more qt application on the board..?

sorry if this query is not concerned to this forum..

saravanan


 				
---------------------------------
 Find out what India is talking about on  - Yahoo! Answers India 
 Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW

Message 2 in thread

hi...

i had written a qt application where in it will execute another qt application. i had compiled and ported it to BF537 EZKIT also. but will executing it showed me the errors as "Unable to allocate RAM for process text/data, errno 12
: memory exhausted".

i entered cat /proc/meminfo command. it showed to 35 MB as memory free. mu application size is around 5 MB each. also they are loaded through ftp into the board. 

can anyone provide solutions or suggestions as to why is it showing me the error inspite of having 35 MB free...? Also should if modify any file in the uClinux for this ..? i'm a newbie to qt programming. is it possible to run two or more qt application on the board..?

sorry if this query is not concerned to this forum..

saravanan


 				
---------------------------------
 Find out what India is talking about on  - Yahoo! Answers India 
 Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW

Message 3 in thread

On Saturday 25 November 2006 11:03, saravanan sar wrote:
> hi...
>
> i had written a qt application where in it will execute another qt
> application. i had compiled and ported it to BF537 EZKIT also. but will
> executing it showed me the errors as "Unable to allocate RAM for process
> text/data, errno 12
>
> : memory exhausted".
>
> i entered cat /proc/meminfo command. it showed to 35 MB as memory free. mu
> application size is around 5 MB each. also they are loaded through ftp into
> the board.
>
> can anyone provide solutions or suggestions as to why is it showing me the
> error inspite of having 35 MB free...? Also should if modify any file in
> the uClinux for this ..? i'm a newbie to qt programming. is it possible to
> run two or more qt application on the board..?
>
> sorry if this query is not concerned to this forum..

Which version of Qt is this? Is your uclibc compiled with support for IPC?

--
 [ signature omitted ] 

Message 4 in thread

hi...
   
  i'm using qt-embedded-free-3.3.5. and the uclinux(uclinux-dist-06R1-RC2) i'm using dont have support for IPC.

 				
---------------------------------
 Find out what India is talking about on  - Yahoo! Answers India 
 Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW

Message 5 in thread

On Tuesday 28 November 2006 09:37, saravanan sar wrote:
> hi...
>
>   i'm using qt-embedded-free-3.3.5. and the uclinux(uclinux-dist-06R1-RC2)
> i'm using dont have support for IPC.

Ok, I haven't actually tried Qt on uclinux. I know others have, but I don't 
know if they had to patch Qt in any way. So I'm just guessing that the error 
message you get
"Unable to allocate RAM for process text/data, errno 12"
could be triggered when Qt tries to allocate shared memory. You could try to 
reconfigure uclibc to contain support for IPC and see if that helps.

--
 [ signature omitted ] 

Message 6 in thread

hi.. 
   
  thanks for your response. i tried that but when i enable the option IPC, i could not compile the uclinux. it seems that version of uclinux dont support IPC....



 				
---------------------------------
 Find out what India is talking about on  - Yahoo! Answers India 
 Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW

Message 7 in thread

On Tuesday 28 November 2006 09:48, saravanan sar wrote:
> hi..
>
>   thanks for your response. i tried that but when i enable the option IPC,
> i could not compile the uclinux. it seems that version of uclinux dont
> support IPC....
>

You could also try to build Qt without multiprocess support (should remove all 
usage of IPC). Try adding 
#define QT_NO_QWS_MULTIPROCESS
to the top of <QTDIR>/src/tools/qfeatures.txt
and recompile the Qt libraries.

--
 [ signature omitted ]