Troubleshooting Guide
Solutions for common Memo issues.
1. Port Conflicts
Symptom: Memo fails to start with "address already in use" errors.
Solution:
- Check which process is using the port:
lsof -i :8080 (Linux/macOS) or netstat -ano | findstr :8080 (Windows).
- Kill the conflicting process or change Memo's port in Settings → Remote Access → API Port.
- If the llama port conflicts, set a fixed port in
config.yaml under llama.port.
2. VRAM / GPU Issues
Symptom: Model loads but responses are very slow, or CUDA errors appear in logs.
Solution:
- Reduce GPU layers in Settings → Model Parameters → GPU Layers. Try 0 for CPU-only.
- Choose a smaller model from the Model Store (look for lower parameter counts).
- Close other GPU-intensive applications before running Memo.
- Ensure CUDA drivers are up to date:
nvidia-smi to verify.
3. Llama Server Not Found
Symptom: "llama server not found" or "failed to connect to llama" errors.
Solution:
- Verify the model file exists at the configured path in
config.yaml → llama.model_path.
- Check that the llama.cpp server binary is in your PATH or alongside the Memo binary.
- Look for crash logs in
~/.memo/logs/llama.log.
- Try removing
~/.memo/llama.lock if a previous instance didn't shut down cleanly.
4. Blank Frontend
Symptom: Web UI loads but shows a white screen.
Solution:
- Open browser developer tools (F12) and check the Console tab for errors.
- Hard refresh with Ctrl+Shift+R (or Cmd+Shift+R on macOS).
- Clear browser cache and local storage for the Memo origin.
- Verify the Flutter web build is not corrupted — reinstall or rebuild if necessary.
5. Memory Retrieval Failures
Symptom: Memo doesn't recall past conversations or facts.
Solution:
- Ensure memory is enabled in Settings → Memory.
- Check that
memory.auto_embed is true in config.yaml.
- Verify the embedding model is downloaded: look in
~/.memo/models/ for the configured embedding_model.
- If the vec0 SQLite extension failed to load, the Go fallback is used — performance may be lower but retrieval should still work.
- Rebuild the vector index by deleting
~/.memo/memo.db and restarting (conversations will be lost).
6. External Provider Connection Issues
Symptom: "provider connection failed" or timeout errors with external APIs.
Solution:
- Verify your API key is correct and hasn't expired in Settings → API Providers.
- Check your internet connection — external providers require network access.
- Ensure the API base URL is correct (defaults are pre-configured for each provider).
- Look for proxy or firewall settings that may block outbound HTTPS on port 443.
- Check the provider's status page for outages.
7. Agent Mode Not Working
Symptom: Agent mode errors or tools don't execute.
Solution:
- Ensure the agent is enabled in Settings → Orchestra.
- Verify the workspace directory exists and is writable.
- Check tool permissions — some tools require explicit opt-in.
- Agent mode requires a capable model (7B+ parameters recommended). Smaller models may not produce valid tool calls.
- Look for sandbox errors in
~/.memo/logs/agent.log.