You should be able to. Before you upgrade, run the follwing two commands:
tar crash
tar logs tech-support
Then run to clear out the logs and free up some space.
tar clean crash
tar clean logs
Then run:
show memory
You need at least 40 MB free to upgrade using the CLI, or 60 MB to upgrade via the web UI.