Skip to content

fix: bound memory when printing scans - #106

Merged
Majkey25 merged 1 commit into
mainfrom
fix/print-memory/05-11-2026
Nov 5, 2026
Merged

Majkey25 merged 1 commit into
mainfrom
fix/print-memory/05-11-2026

Conversation

@Majkey25

@Majkey25 Majkey25 commented Nov 5, 2026

Copy link
Copy Markdown
Owner

Multi-page printing retained all decoded bitmaps in Android's PDF writer until the document closed. Stream one sampled JPEG at a time through the existing PDF writer while preserving paper size, margins, page selection, and metadata stripping.

On Huawei YAL-L21 (Android 10), the median sampled native-heap peak across three 20-page runs fell from 82.08 to 12.68 MiB. Seven device tests passed, covering PDF rendering and export, selected pages, margins, source metadata removal, cancellation, and output failure.

Claude Opus 5.5 and GPT-6 Astra independently reviewed the final code and found no confirmed release blockers. Play Console has insufficient app-level memory data to attribute the account alert or verify it cleared. A physical printer was not tested.

@Majkey25
Majkey25 marked this pull request as ready for review November 5, 2026 18:03
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-11-05T18:03:46.711150Z
We couldn’t complete this review. Comment @codex review to try again.
c7bc1a7 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@Majkey25
Majkey25 merged commit cf60bde into main Nov 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant