PointCloudLibrary / PointCloudLibrary/pcl

PCL's release binaries are quite big

Open
#4,119 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs: testing
Dominant language
C++
Stars
11.1k
Forks
4.7k
Avg merge
4d 10h
Merged PRs (30d)
6

Description

I think we should better take a look on our generated code, why it is so big:

image

And yeah, the release lib is 500MB!!, during the debug is only 36MB. Don't ask me why 😳

Originally posted by @SunBlack in https://github.com/PointCloudLibrary/pcl/issues/3387#issuecomment-630793830

The . is the thousand's place separator

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the release and debug builds described in the issue and comparing their binary sizes. Inspect the generated code and relevant build configuration to determine why the release library reaches 500 MB while the debug build is 36 MB. Done means the size discrepancy is explained and the release binary size is reduced or the cause is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system, performance
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.