Almost all require some space to the side of the unit. Most are around 5", but I've seen as little as 2" and as much as 10". I would not advise against placing the stove right up against the wall. You are creating a fire hazard (the current installation sounds like a sub-standard set-up that you should repeat).