4paradigm / 4paradigm/OpenMLDB

Add long running tests of memory leak for Python SDK

Open
#1,182 0 comments 0 reactions 2 assignees Claimed by @wuyou10206 View on GitHub
enhancement
Dominant language
C++
Stars
1.7k
Forks
331
Avg merge
12d 12h
Merged PRs (30d)
1

Description

Use the tools like https://github.com/4paradigm/OpenMLDB/blob/main/java/openmldb-jmh/src/main/java/com/_4paradigm/sql/stability/FEQLFZPerf.java and `valgrind`.

Contributor guide

Open the contributing guide

Research direction

Look at the referenced Java JMH test in openmldb-jmh/src/main/java/com/_4paradigm/sql/stability/FEQLFZPerf.java to understand the pattern for long-running performance tests. Investigate the Python SDK structure to identify entry points for memory-intensive operations. Use valgrind or similar memory profiling tools to design tests that can run for extended periods and detect leaks. The goal is to create a test suite that can be integrated into the project's CI for ongoing memory leak detection.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning, performance, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.