saw movie plot holes

I can not remember a movie title?
I'm trying to recall the title of a movie I saw years ago. The plot is very unique. It is this man who lives in a seaside town, and everyone in the village never left him. At the end of the movie, the man crosses the sea in an attempt to escape of the city, but then encounters an invisible wall that blocks the ocean. Hit the wall and tears a hole in it, then he leaves. Turns out all over the place I was living inside a huge space. Apparently, they are looking to live in this fake city. Thanks to anyone who can find the title of the film for me.
The Truman Show (1998)
SAW timeline 1-3d part 1