×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Apr 2006
    Posts
    7

    EPOCSTACKSIZE related questions

    1) Is there a project setting in Carbide.c++ Express for the epoc stack size?

    2) In the mmp file you can set this to a custom value via EPOCSTACKSIZE; does the import functionality of Carbide.c++ adopt this value into the project settings?

    3) What is the default epoc stack size for a new 3rd edition project created with Carbide.c++ Express?

  2. #2
    Super Contributor
    Join Date
    Sep 2004
    Posts
    1,048

    Re: EPOCSTACKSIZE related questions

    1) Is there a project setting in Carbide.c++ Express for the epoc stack size?

    Yes, you set the stack size in the project properties for the target (GCCE) build. Go to Properties -> C/C++ Build, S60 3.0 Phone (GCCE) Release configuration, Post Linker -> General Options -> Stack size in bytes (format of number os hexa).

    2) In the mmp file you can set this to a custom value via EPOCSTACKSIZE; does the import functionality of Carbide.c++ adopt this value into the project settings?

    At least Express does not at this time.

    3) What is the default epoc stack size for a new 3rd edition project created with Carbide.c++ Express?

    Good question, actually Express as such does not set it, it is implicitely set by the elf tool, I don't know the default.

  3. #3
    Registered User
    Join Date
    Feb 2008
    Posts
    1

    Re: EPOCSTACKSIZE related questions

    Hi,
    I'm using Nokia E-65, with S60 3rd Edition.
    When I browse websites with the in-built S60 Web-Browser, If it comes across a page with huge amount of data (say, large images etc), it gives a Kern-exec3 and exits. On searching through forums, I found that in general, the root cause may be stack-overflow (I guess it is set to 8 KB for a Symbian Application by default).And the same can be solved by setting the EPOCSTACKSIZE to a higher number (say 80KB) in the MMP file. I'm a newbie, and not really into S60 development.

    Can I set the parameter/variable for S60 web-browser? I don't have the source of the application and even if it is available, i don't want to recompile it.

    Many thanks in advance!

  4. #4
    Nokia Developer Champion
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,348

    Re: EPOCSTACKSIZE related questions

    Welcome to the Forum Nokia Developer Discussion boards.

    I don't have the source of the application and even if it is available, i don't want to recompile it.
    In this case you can't change anything.

  5. #5
    Registered User
    Join Date
    Aug 2003
    Location
    Oulu, Finland
    Posts
    1,122

    Re: EPOCSTACKSIZE related questions

    Quote Originally Posted by A.A.M. View Post
    In this case you can't change anything.
    Actually, many of the settings controllable via MMP file keywords can be changed after compilation with the elftran tool. For example, stack size, heap size, UIDs, capabilities and so on. No recompilation needed.

    Lauri

  6. #6
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: EPOCSTACKSIZE related questions

    True, but that is something that application's developer does (and if that is needed will be really done through project's settings, before compilation) and not an end-user that thinks that modifying the browser binary is the solution to its problems.
    Last edited by ltomuta; 2009-02-19 at 12:18. Reason: typo
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  7. #7
    Nokia Developer Champion
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,348

    Re: EPOCSTACKSIZE related questions

    Quote Originally Posted by laa-laa View Post
    Actually, many of the settings controllable via MMP file keywords can be changed after compilation with the elftran tool. For example, stack size, heap size, UIDs, capabilities and so on. No recompilation needed.
    Lauri, thank you for your clarification.

    But I think that there is no way to change in-built S60 Web-Browser executable file.
    Last edited by A.A.M.; 2009-02-19 at 12:02.

  8. #8
    Registered User
    Join Date
    Feb 2010
    Location
    India
    Posts
    281

    Re: EPOCSTACKSIZE related questions

    How can i find my application stack size and heap size programatically ?.

  9. #9
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,671

    Re: EPOCSTACKSIZE related questions

    The stack is thread specific, so RThread::StackInfo
    The heap can exist on its own, so there is a separate RHeap class. However your "current" heap can be also accessed via User, like User::Available, User::AllocSize.

Similar Threads

  1. libwbxml related questions?
    By mayur_24 in forum Symbian
    Replies: 7
    Last Post: 2007-01-01, 05:21
  2. Nokia 6630 Specific questions related to jsr184 , m3g , etc
    By www.rzr.online.fr in forum Mobile Java Media (Graphics & Sounds)
    Replies: 6
    Last Post: 2006-04-10, 10:37
  3. AT command related questions
    By Bill_Murray in forum Symbian
    Replies: 0
    Last Post: 2005-12-03, 18:20
  4. some questions on NOKIA/symbian development, thank you!
    By trendin in forum Mobile Java General
    Replies: 1
    Last Post: 2004-03-18, 11:38

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×