Opened 17 years ago

Closed 17 years ago

#249 closed defect (fixed)

Problems with big memory blocks in Symbian

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: Symbian-trunk-integration
Component: common Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description (last modified by bennylp)

Symbian looks to having troubles when there are too many big blocks allocated by application, and unfortunately PJ likes to allocate memory in big blocks (4000 bytes or so) for the pool.

The solution is to have the block size configurable during compile time.

Change History (3)

comment:1 Changed 17 years ago by bennylp

  • Description modified (diff)

comment:2 Changed 17 years ago by bennylp

  • Description modified (diff)

comment:3 Changed 17 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed

Done. Most PJSIP pool memory sizes are now configurable, and in <pj/config_site_sample.h> there are some suggested values for the memory sizes for Symbian:

#   define PJSIP_POOL_LEN_ENDPT		1000
#   define PJSIP_POOL_INC_ENDPT		1000
#   define PJSIP_POOL_RDATA_LEN		2000
#   define PJSIP_POOL_RDATA_INC		2000
#   define PJSIP_POOL_LEN_TDATA		2000
#   define PJSIP_POOL_INC_TDATA		512
#   define PJSIP_POOL_LEN_UA		2000
#   define PJSIP_POOL_INC_UA		1000
#   define PJSIP_POOL_TSX_LEN		512
#   define PJSIP_POOL_TSX_INC		128
Note: See TracTickets for help on using tickets.