an electronic apparatus includes a memory , first and second bus masters , a counting unit and a control unit . the first and second bus masters are capable of accessing the memory . the counting unit counts an amount of addresses reserved by the second bus master for accessing the memory . the control unit controls to avoid permitting a request made by the second bus master if a value counted by the counting unit becomes larger than a first threshold value , until the value counted by the counting unit becomes smaller than a second threshold value . the request made by the second bus master is used to reserve addresses of the memory , and the second threshold value is smaller than the first threshold value .