
Closed
Posted
Paid on delivery
My current C/C++ codebase is functionally solid but far too heavy on RAM. I want it slimmed down without sacrificing stability, so your primary mission is to diagnose and trim memory consumption across the project. Here’s the picture: • The focus is squarely on C and C++ sources. • I need concrete, measurable memory savings—ideally demonstrated through before-and-after profiling runs. • Speed and readability improvements are welcome side-effects, but memory is the KPI that matters. How we’ll work: 1. You begin with a deep dive using the tools you trust—Valgrind, AddressSanitizer, massif-visualizer, perf, or similar—to chart current heap/stack behaviour. 2. From those findings you’ll redesign data structures, apply smarter algorithms where they pay off, and refactor any OOP patterns that are needlessly bloating the footprint. 3. A lightweight Python script to automate regression benchmarks and leak checks should accompany the changes so I can replicate your results in one command. Acceptance criteria: • At least a 30 % reduction in peak memory usage in my standard test suite. • Clean runs on Valgrind/ASan with zero leaks or invalid accesses. • A short markdown report summarising every change, the rationale, and the profiling evidence. Send over two or three lines about a project where you cut memory this dramatically before, and we’ll get started.
Project ID: 40617538
17 proposals
Remote project
Active 1 day ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
17 freelancers are bidding on average ₹1,035 INR for this job

Hi, I can help optimize your C/C++ codebase with memory usage as the primary KPI. I'll profile the application using Valgrind (Massif/Memcheck), AddressSanitizer, and perf to identify peak memory usage, leaks, and unnecessary allocations. Based on the findings, I'll refactor data structures, optimize allocation patterns, and provide before/after profiling reports, a Python automation script for regression benchmarking, and a markdown report documenting every optimization. A recent optimization project involved reducing the memory footprint of a high-throughput backend by replacing allocation-heavy containers, eliminating redundant object copies, and introducing memory pooling where appropriate. The result was a 35%+ reduction in peak memory usage, improved cache locality, and clean Valgrind/ASan runs with zero leaks or invalid accesses. I'd be happy to review your codebase and discuss the expected optimization opportunities before we begin. Best regards, Muhammad Huzaifa
₹1,500 INR in 23 days
0.0
0.0

Hi, I read your project carefully and I can deliver exactly what you need. I can start immediately and show you the first preview in a few hours. Let’s discuss the details.
₹1,550 INR in 3 days
0.0
0.0

Hello, I'm bharghav, with 10 years of experience in Matching Job Skills, specifically with C, C++, and Python for performance optimization. I've successfully reduced memory footprints in complex systems using these languages. I understand your need to significantly reduce RAM usage in your C/C++ codebase by at least 30%. My approach involves a deep dive using tools like Valgrind and AddressSanitizer, redesigning data structures, optimizing algorithms, and refactoring OOP patterns. I'll also provide a Python script for automated benchmarks and a detailed report.
₹1,050 INR in 3 days
0.1
0.1

Hello client, I am excited to submit my proposal for your project. With years of experience in the field, I am confident in my ability to deliver high-quality work that meets your needs. I have carefully reviewed your project description and requirements; I understand that you are looking to achieve your project objectives. My approach will ensure that I deliver exactly what you have requested in the project. I will keep you updated on the project progress and ensure timely delivery. If you are interested in moving forward I’d be happy to discuss the project further and answer any questions you may have. Thanks for considering my proposal; I look forward to the opportunity to work with you. Please open your messenger and send me complete details to discuss it further. Thank you.
₹1,050 INR in 2 days
0.0
0.0

Hello, I'd be happy to help optimize your C/C++ codebase for lower memory usage while maintaining stability. My background includes building performance-focused systems where memory efficiency, concurrency, and benchmarking were key priorities. In my MediaForge AI project, I designed a multithreaded processing system with optimized resource usage, implemented performance benchmarking, and kept peak RAM usage under tight limits. I also have strong experience with C++, Python, and systems programming. For your project, I'll first profile the application using tools such as Valgrind/Massif and AddressSanitizer to identify memory hotspots and leaks. Based on the findings, I'll optimize data structures, eliminate unnecessary allocations and copies, improve object lifetimes, and validate every change with before-and-after profiling. I'll also provide a Python automation script for regression benchmarking and a concise Markdown report documenting all optimizations and measurable results. I'm committed to delivering clean, well-tested code with transparent profiling evidence so you can easily verify every improvement.
₹1,050 INR in 7 days
0.0
0.0

Hi, I can analyze your C/C++ codebase and identify memory bottlenecks using tools like Valgrind, AddressSanitizer, Massif, and perf. I will optimize data structures, remove unnecessary memory allocations, and improve memory efficiency while maintaining stability. You'll receive before-and-after profiling results, a lightweight Python regression script, and a clear markdown report explaining every optimization and its impact. I'm committed to delivering measurable memory savings with clean, maintainable code.
₹1,050 INR in 7 days
0.0
0.0

I recently restructured a heavy C++ real-time telemetry pipeline, cutting peak heap footprint by 42% through data structure packing, custom arena allocators, and eliminating redundant smart-pointer overhead while keeping Valgrind runs completely clean. I will profile your codebase with Massif, trim memory by over 30%, and deliver a clean Python benchmark script. What is the approximate baseline peak memory usage of your standard test suite right now?
₹600 INR in 1 day
0.0
0.0

I'll start with a Valgrind/massif baseline to map peak heap usage by call site, then AddressSanitizer to rule out leaks/invalid accesses before touching anything - so the 30% target is measured against a real number, not a guess. Typical wins in a "functionally solid but heavy" C/C++ codebase: switching over-allocated containers (vector-of-vector, map where a flat array fits) to right-sized structures, killing redundant copies (pass-by-value where a reference/move would do), pooling/arena allocation for short-lived objects instead of per-object malloc, and trimming padding in hot structs. I'll write the regression/benchmark script in Python as asked, so you can re-run before/after numbers with one command, plus a short markdown report per change with the profiling evidence behind it. One project where I cut memory this dramatically: a data-processing pipeline that was holding full intermediate datasets in memory - refactored to streaming/chunked processing with pooled buffers, cut peak RSS by over 40% while keeping throughput. Quick questions to scope precisely: roughly how large is the codebase (files/LOC), and is there an existing test suite I should run the before/after benchmarks against, or should I build a minimal one alongside the regression script?
₹1,200 INR in 3 days
0.0
0.0

Hi, I'm a C++ developer with more than 3 years of experience, I can help improving your software's performance without affecting stability. I have built complex applications before with great performance.
₹1,050 INR in 7 days
0.0
0.0

Hello, I have strong experience optimizing C/C++ applications for embedded and high-performance systems, where memory efficiency is often more critical than raw speed. My approach is data-driven—I begin with comprehensive profiling using tools such as Valgrind (Massif/Memcheck), AddressSanitizer, and perf to identify memory hotspots before making targeted optimizations. I'll analyze heap and stack usage, eliminate unnecessary allocations, optimize data structures and object layouts, reduce fragmentation, refactor memory-heavy OOP patterns, and validate every change with before-and-after profiling results. I'll also provide a lightweight Python automation script for regression testing, leak detection, and memory benchmarking, along with a concise Markdown report documenting each optimization and its measurable impact. In a previous embedded systems project, I reduced peak memory usage by over 35% by redesigning data structures, replacing dynamic allocations with memory pools, and optimizing buffer management while maintaining functional behavior. The final solution passed Valgrind and ASan with zero leaks or invalid accesses. I'd be happy to review your codebase and discuss the best optimization strategy to achieve your 30% memory reduction target.
₹1,500 INR in 7 days
0.0
0.0

Hello, This project aligns closely with our expertise in C/C++, performance optimization, and production system engineering. At Lucid Kernel Labs, we have spent years optimizing computer vision pipelines, AI inference systems, and distributed applications where memory efficiency directly impacts scalability and deployment costs. In one production video analytics platform, we reduced CPU and memory pressure significantly through data structure redesign, buffer lifecycle optimization, object reuse, and elimination of unnecessary allocations. We have also optimized edge-AI applications running on resource-constrained hardware where every MB mattered. For this engagement, we will: • Profile heap and stack usage using Valgrind, Massif, ASan, and related tools. • Identify memory hotspots, leaks, fragmentation, and oversized allocations. • Refactor data structures, memory ownership patterns, and inefficient OOP abstractions. • Validate improvements with before/after profiling evidence. • Deliver a Python-based benchmark and regression testing script. • Provide a concise report documenting findings, changes, and measured gains. We focus on measurable results and would be happy to review the codebase and discuss realistic targets for achieving the 30% memory reduction requirement. Regards, Lucid Kernel Labs C++, AI & Systems Engineering
₹800 INR in 14 days
0.0
0.0

30% off peak memory with a clean Valgrind/ASan run is a fair target if the bloat is structural rather than just noisy allocation patterns, so that's where I'd start before promising a number. My approach: massif or Valgrind first to map where the heap actually grows across your test suite, then figure out whether it's data structure overhead, unnecessary copies, or OOP indirection eating the memory before touching any code. From there I'd target the biggest offenders first, redesign the structures actually driving the footprint, then verify with ASan that nothing regresses into leaks or invalid access. The Python harness you mentioned is straightforward to build alongside this, so you can rerun the same benchmark and leak check in one command and see the before and after yourself. Numbers from someone else's codebase don't tell you much about yours, so rather than quote a percentage from elsewhere, I'd want to run an early profiling pass on your actual test suite first, that gives us a real baseline to hold the 30% target against instead of a guess. What's the current build made of, a single binary or memory shared across multiple processes?
₹1,050 INR in 5 days
0.0
0.0

I'll start by profiling with Valgrind/Massif and AddressSanitizer to map exactly where the peak RAM is going, then trim the heaviest allocations and OOP patterns before building the Python regression script you listed in the acceptance criteria — that's the part most bids here are glossing over. My approach: - Profile first, refactor second: no blind edits, every change tied to a measured allocation. - One-command Python script: automated benchmark + leak check, so you can rerun and verify the 30% target yourself. I've built EA systems for MetaTrader (C-like MQL) where live execution runs on tight memory/CPU budgets, so I'm used to treating memory as a hard constraint, not an afterthought — happy to be upfront that this is my first C/C++-labeled memory project on Freelancer, which is exactly why I'm pricing it lean to prove the process on your codebase. Is the current build targeting Linux only, or does it also need to run clean under a Windows/MSVC toolchain?
₹749 INR in 2 days
0.0
0.0

Hello! I can help with memory optimization in C/C++. I have experience developing C and C++ programs and working with memory management, including optimizing memory usage in small GUI applications and projects using the C/C++ standard libraries. My previous optimizations were not extremely large, but I understand the fundamentals of reducing unnecessary memory usage and can analyze your code to find areas for improvement.
₹600 INR in 1 day
0.0
0.0

Tamil Nadu, India
Member since Feb 28, 2026
₹100-400 INR / hour
$30-250 USD
₹12500-37500 INR
$10-30 USD
$250-750 USD
₹100-400 INR / hour
$30-250 AUD
$250-750 USD
₹12500-37500 INR
₹750-1250 INR / hour
$10-100 USD
₹100-400 INR / hour
₹600-1500 INR
$25-50 USD / hour
₹12500-37500 INR
₹75000-150000 INR
₹250000-500000 INR
$30-250 USD
€1000-5000 EUR
₹400-750 INR / hour