◐ Shell
clean mode source ↗

fix: CGO Memory leak issue in GO Feature server by EXPEbdodla · Pull Request #4291 · feast-dev/feast

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@EXPEbdodla

What this PR does / why we need it:

Releases the memory used by CGOArrowAllocator. Not releasing the memory causing the memory leaks. Pods restart after all the memory allocated by container is filled up.

Which issue(s) this PR fixes:

NA

Fixes

  • Memory leak in GO feature server which is causing the pod restarts after allocated memory filled up
  • Sets the response content type to application/json (Before its application/text type)
  • Added health check endpoint for GO HTTP feature server

@EXPEbdodla

pr-integration-tests failure is not related to this code change.

@tokoko

@tokoko

@EXPEbdodla All commits need a sign-off. Follow instructions here, git rebase HEAD~3 --signoff and then git push --force-with-lease origin fix_memory_leak.

Signed-off-by: Bhargav Dodla <bdodla@expediagroup.com>

tokoko

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

franciscojavierarceo

tsisodia10 pushed a commit to tsisodia10/feast that referenced this pull request

Jul 23, 2024

tsisodia10 pushed a commit to tsisodia10/feast that referenced this pull request

Jul 23, 2024

redhatHameed pushed a commit to RHEcosystemAppEng/feast that referenced this pull request

Aug 5, 2024

shuchu pushed a commit to shuchu/feast that referenced this pull request

Aug 14, 2024

@franciscojavierarceo

@EXPEbdodla

Labels