Repository navigation
fix(market): 512mb VM - the Tier A geo data does not fit in 256mb - #32
Merged
Merged
Conversation
After #30 the market loads geoip-lite's country data into memory. On the 256mb VM the first paid request was OOM-killed (seen on the Solana market on 27 Nov 2026: "Out of memory: Killed process", paid route 502), and the Avalanche bluegreen deploy timed out while the new machine started. 512mb fixes both: the Solana market was scaled live and answers again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
M0nsxx
approved these changes
Nov 27, 2026
M0nsxx
left a comment
Member
There was a problem hiding this comment.
AI-assisted review (Claude)
Read the diff: fly.market.toml raises the VM from 256mb to 512mb, with a comment explaining why. Deploying the Tier A block showed that geoip-lite keeps its country data in memory: on 256mb the Solana market's first paid request was OOM-killed (502), and the Avalanche bluegreen deploy timed out. The Solana market was scaled to 512mb live and answers 402 again. One-line config change. Approve.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Deploying the Tier A block (#30) showed that
geoip-litekeeps its country data in memory, and the 256mb VM is not enough:Out of memory: Killed process ... anon-rss:159716kB), so/v1/marketanswered 502. It was scaled to 512mb live withfly scale memory 512and has answered 402 (payment required) since, with the Tier A block in place.This PR sets
memory = "512mb"infly.market.toml, so the next deploy does not go back to 256mb and the Avalanche market can be deployed with the block.🤖 Generated with Claude Code