Discussion Board

Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    27,746
    You may really have the existing, just rare situation of running out of stack space. EPOCSTACKSIZE is the keyword in the .mmp file (or the .mmp editor of Carbide.c++) where you can modify it.

  2. #17
    Super Contributor raj8nokiaforum's Avatar
    Join Date
    Sep 2008
    Location
    Vancouver, Canada
    Posts
    579
    THanks wizard. Right now the stacksize is 12288. How much max can i make it? One of my TBuf variable is of size over 54600 bytes.

  3. #18
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    27,746
    Ah, I see the variable, yes. The maximum stack is 80 kilobytes (http://library.developer.nokia.com/i...stacksize.html).
    Generally you should not use large stack variables, prefer moving them to member variables or to the heap at least (HBufC or RBuf in this case).

  4. #19
    Super Contributor raj8nokiaforum's Avatar
    Join Date
    Sep 2008
    Location
    Vancouver, Canada
    Posts
    579
    Thanks wizard. Your suggestion worked!

    And I will remember that about stack variables.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 1
    Last Post: 2011-12-22, 13:57
  2. Suspended: Signal 'Exception 0' received. Description: A data abort exception occured
    By amit04.kumar in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2010-10-12, 12:57
  3. Replies: 6
    Last Post: 2010-06-16, 09:21
  4. Signal Exception 0 received: A data abort exception has occurred
    By JasonSmithMiller in forum Symbian C++
    Replies: 4
    Last Post: 2009-12-11, 09:43

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved