Google

Wednesday, October 27, 2004

[PROGRAMMING] The maximum length of string buffer

使用tpcall同步调用,并用string类型的buffer能传递的string最大长度是多少?

如果你对一个STRING类型使用tpalloc创建时,如果不指定大小,Tuxedo默认为512 bytes。对于可以创建的最大值,好像没有要求,根据系统的物理情况而定。与tpcall无关。

If not specified, by default it is 512 bytes. As to the maximum lenght , I think depends on kernel parameters's setting.