Skip to content

The DATA_MAX_SIZE parameter is set too large, causing memory allocation errors #28

Open
@tiantian500

Description

@tiantian500

Hi,

thanks for the awesome examples.

i tried to create a PointCloud240m.msg,and change uint32 DATA_MAX_SIZE=251658240.
when i run ./pcl240m_talker
error i have got:
'''

terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted (core dumped)

'''
it seems DATA_MAX_SIZE is set too large

Any idea how to publish the pcd file with 240M ?

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions