Is there a hard limit on dbus string size?

Will Thompson will.thompson at collabora.co.uk
Thu Apr 15 02:48:50 PDT 2010


On 15/04/10 10:36, Ryan Heniser wrote:
> Can't find it in the docs. So, I'd assume the size is limited by memory
> size, like most string implementations. But, I want explicit
> confirmation as one route of a design for my project could see 1-3 MB
> strings being passed (commands for a client program).

Well, there's the limit imposed by the wire format: the string's length 
must fit in a uint32.

(But I'm suspicious of passing 3MB strings over D-Bus. :))

Regards,
-- 
Will


More information about the dbus mailing list